なるようになるブログ

読書感想文かrailsについてかrubyについてか

rails commit log流し読み(2015/09/10)

2015/09/10分のコミットです。

CHANGELOGへの追加はありませんでした。


[ci skip] Improve readability in AR querying guide

rails guideのActive Record Query Interfaceの修正です。

ガイド全体のグラマーの修正、句読点の追加、言い回しの修正等をまとめて行っています。


[ci skip] Update MySQL docs reference to latest

rails guideのActive Record Query Interfaceの修正です。

MySQLへのdocのリンクを、最新バージョンのdocへのリンク(http://dev.mysql.com/doc/refman/5.7/)に修正しています。


fix wrong method used in the TimeWithZone#inspect method docs [ci skip]

activesupport/lib/active_support/time_with_zone.rbのdocの修正です。

TimeWithZone#inspectのdocのexampleで、inspectではなくhttpdateメソッドを使用していたのを、inspectメソッドを使用するよう修正しています。


Explicitly require AR/attribute where using it

activerecord/lib/active_record/attribute_set/builder.rbの修正です。

active_record/attributeのrequireを追加しています。

AR::Attribute's のシングルトンメソッドを呼び出した際に、時折レースコンディションが発生する事があった為、明示的にrequireするようにしたとの事です。


add description of passing a block to add_source [ci skip]

rails guideのRails Application Templatesの修正です。

add_source in Application Template should take a block for gem entriesadd_sourceメソッドの引数にblockを追加したのですが、 rails guideの方のメソッドの説明が更新されていなかったのを、更新しています。