2021/05/15分のコミットです。
CHANGELOGへの追加はありませんでした。
Display a help message if rails new
is called without a path
railties/lib/rails/command.rb
の修正です。
rails new
にpathが指定されなかった場合に、helpメッセージを表示するよう修正しています。
Fix ActiveStorage intermittent test
activestorage/test/models/attached/many_test.rb
の修正です。
Fixes ActiveStorage#has_many_attached re-creating destroyed attachmentの対応の影響でhas_many_attached
のテストがエラーになってしまっていたのを修正しています。
Merge pull request #42225 from ghiculescu/as-content-type-crash
activestorage/app/models/active_storage/blob/representable.rb
の修正です。
Active Storageのformat判定処理で、判別出来ないなmime typeが指定されていた場合にNoMethodError
が発生してしまうバグがあったのを修正しています。
Fix NullRelation#to_sql to return an actual query
activerecord/lib/active_record/null_relation.rb
の修正です。
NullRelation#to_sql
が空文字を返していたのを、実際のqueryを返すよう修正しています。空文字を返す理由が無いように見え、実際に生成されるqueryを返す方が正しいのでは、という事で修正されています。