なるようになるブログ

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

rails commit log流し読み(2017/10/16)

2017/10/16分のコミットです。

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


Add a test case that eager-loading with a polymorphic association and using exists?

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

polymorphic associationをeager load + exists?メソッドを使用した場合のテストを追加しています。


Merge pull request #30872 from yhirano55/capitalize_sprockets_in_engine_guide

rails guideのGetting Started with Enginesの修正です。

sprockets -> Sprockets(先頭を大文字)に修正しています。


Merge pull request #30862 from yhirano55/remove_needless_space_in_action_view_guide

rails guideのAction View Overviewの修正です。

time_zone_selectメソッドのexampleコードに不要なスペースがあったのを削除しています。


Remove extra spaces in the args in the time_zone_select [ci skip]

actionview/lib/action_view/helpers/form_options_helper.rbのdocの修正です。

time_zone_selectメソッドのdoc内のexampleコードに不要なスペースがあったのを削除しています。


Remove association(true) references from docs [ci skip]

activerecord/lib/active_record/associations.rbactiverecord/lib/active_record/associations/collection_proxy.rbのdocの修正です。

docに既に存在しないassociation(true)メソッドを使用している箇所があったのを削除、及び、reloadメソッドを使用するよう修正しています。