2022/03/15分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
Merge pull request #44670 from pixeltrix/fix-generator-route-url-for-namespaced-controllers
railties/lib/rails/generators/named_base.rb
の修正です。
scaffold_controller
にnamespaced path + model nameを明示的に指定した場合、namespaced pathが考慮されたcontrollerにならないバグがあったのを修正しています。
Merge pull request #43958 from jonathanhefner/authenticate_by-short-circuit-empty-password
activerecord/lib/active_record/secure_password.rb
の修正です。
authenticate_by
メソッドでpassword
にnilから空の値が指定された場合に、early returnするよう修正しています。
Merge pull request #43975 from codergeek121/bugfix-for-time-select-prompt
actionview/lib/action_view/helpers/date_helper.rb
の修正です。
time_select
メソッドのprompt
オプションを指定した場合に、prompt
オプションに指定した値が表示されないバグがあったのを修正しています。
Merge pull request #43688 from jonathanhefner/has_secure_password-password_challenge
activemodel/lib/active_model/secure_password.rb
の修正です。
has_secure_password
でpassword challengeを行えるよう修正しています。password challengeの為のatribute(attribute名_challenge
)を追加し、このattributeが指定されている場合、この値を元にdigest値のチェックを行うようになっています。
Merge pull request #44655 from lewispb/action-mailbox-instrumentation
actionmailbox/lib/action_mailbox/base.rb
の修正です。
Instrument Action Mailbox processingで追加されたAction Mailboxのprocess
処理に対しするinstrumentationで、payloadにmailboxのclass名ではなくインスタンスを含むよう修正しています。
rails guideのThe Asset Pipeline
の修正です。
NodeJS
-> Node.js
に移行しています。
Fix migrations compatibility for polymorphic references default index name
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb
、
activerecord/lib/active_record/migration/compatibility.rb
の修正です。
Fix migrations compatibility for polymorphic references default index nameで行ったpolymorphic referencesで使用するreference nameの変更処理が、古いバージョンで作られたmigrationファイルにも影響を与えてしまうバグがあったのを修正しています。
Merge pull request #44669 from kaiquekandykoga/extract-float
actionview/lib/action_view/helpers/asset_tag_helper.rb
の修正です。
image_tag
やvideo_tag
のsize
オプションにfloat値を指定出来るよう修正しています。
[mysql2 tests only] Flunk if test is not using SavepointTransaction
activerecord/test/cases/adapters/mysql2/nested_deadlock_test.rb
の修正です。
deadlockに関するテストで、処理を行う前にtransactionの状態をチェックするよう修正しています。
remove extra core_ext/object/blank requires
各ファイルから使用していないrequireを削除しています。