2021/01/18分のコミットです。
CHANGELOGへの追加はありませんでした。
Make ActiveModel's attribute behavior follow ActiveRecord's
activemodel/lib/active_model/attributes.rb
の修正です。
Active Modelのattribute
メソッドの挙動を、Active Recordのattribute
のメソッドと一致するよう修正しています。
Fix joins that reserved word association is referenced in where
activerecord/lib/active_record/associations/join_dependency.rb
の趣味です。
予約語と同じ名前のassociationをjoinに指定 + そのassociationをwhere
で参照した場合に、エラーになってしまうバグがあったのを修正しています。
Merge pull request #41067 from eugeneius/relative_file_fixture_path
actionpack/lib/action_dispatch/testing/test_process.rb
の修正です。
fixture_file_upload
でpathがfixture_path
の相対パスかをチェックする際に、file_fixture_path
が相対パスでfixture_path
が絶対パスの場合に正しくチェックが行わないバグがあったのを修正しています。
Add a Webpacker guide [ci skip] (#40817)
Webpackerについて説明しているWebpacker guide
を追加しています。
Explicit check for html and text parts
railties/lib/rails/templates/rails/mailers/email.html.erb
の修正です。
メールのpreviewで、添付ファイルがある場合はHTML / text partが1つか無い場合も、format selectorが表示されるよう修正しています。