なるようになるブログ

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

rails commit log流し読み(2017/05/05)

2017/05/05分のコミットです。

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


Assorted delegate_missing_to doc fixes

activesupport/lib/active_support/core_ext/module/delegation.rbのdocの修正です。

delegate_missing_toメソッドのdocについて、フォーマットの修正、delegateされたメソッドはpublicメソッドである必要がある旨説明を追加、等を行っています。


Update test names to match method name

activesupport/test/core_ext/module_test.rbの修正です。

delegate_missing_toメソッドのテストのテスト名がtest_delegate_to_missing_xxxになってしまっていたのを、test_delegate_missing_to_xxxに修正しています。


Merge pull request #28983 from kamipo/remove_useless_target_records_from_association

activerecord/lib/active_record/associations/preloader/through_association.rbの修正です。

不要なassocationがload済みかどうかのチェックを行わないよう修正しています。


Don’t pass arel.engine to Arel::SelectManager.new

Active Recordの修正です。

Arel::SelectManager.newarel.engineを渡さないよう修正しています。

Remove `engine` from `TreeManager` and subclassesの対応でArel::SelectManager.newの引数からare.engineが削除されており、その対応に合わせる為。