なるようになるブログ

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

rails commit log流し読み(2018/05/06)

2018/05/06分のコミットです。

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


prefer File.write for bulk writes

File.openしてからwriteメソッドを使用してデータを書き込んでいたのを、File.writeを使用するよう修正しています。


Address CI failure due to non-deterministic query result

activerecord/test/cases/finder_test.rbの修正です。

takeのテストで値を取得する際にwhereで条件を指定するよう修正しています。条件の指定が無いと期待しているのと異なるレコードを取得する可能性がある為。


Active Record postgresql documentation for bit string types corrected

rails guideのActive Record and PostgreSQLの修正です。

Bit String Typesの項のexampleコードでファイル名とmodel名が一致していなかったのを修正しています。


restores original intention in constants guide, reworded [ci skip]

rails guideのAutoloading and Reloading Constantsの修正です。

Remove confusion in the sentence [ci skip]で修正された、Class and Module Definitions are Constant Assignmentsの項のStringクラスについて説明している箇所の言い回しを再度修正しています。

修正後の内容だと本来行いたかった説明が正しくできていない為、らしい。