2020/05/04分のコミットです。
CHANGELOGへの追加はありませんでした。
[ActiveStorage] Rewrite Blob.unattached scope code using where.missing
activestorage/app/models/active_storage/blob.rb
の修正です。
Blob.unattached
scopeを、where.missing
を使用するようリファクタリングしています。
Support reentrant calls to RakeCommand.perform
railties/lib/rails/commands/rake/rake_command.rb
、
railties/lib/rails/tasks/statistics.rake
の修正です。
他のtop-level task実行された場合にRakeCommand.perform
が再度実行出来ないがバグがあったのを修正しています。
Adds :inline option to Action Mailbox generator rails_command
actionmailbox/lib/generators/action_mailbox/install/install_generator.rb
の修正です。
Action Mailboxのmigration生成処理で、inline
オプションを指定して直接Rails::Command.invoke
を実行するよう修正しています。
Fix rewhere
to allow overwriting association queries
activerecord/lib/active_record/relation/predicate_builder.rb
の修正です。
rewhere
でassociation queryのオーバーライドが出来るよう修正しています。
activerecord/test/cases/finder_test.rb
、
activerecord/test/cases/relation/where_chain_test.rb
の修正です。
rewhere
のテストで結果を比較するのに、where_clause
やreleationで比較していたのを、to_a
した値で比較するよう修正しています。