2025/10/27分のコミットです。
CHANGELOGにのったコミットは以下の通りです。
activemodel/CHANGELOG.md
Merge pull request #56002 from janko/reuse-controller-path
actionpack/lib/action_controller/railtie.rbの修正です。
ActiveRecord::QueryLogs.taggingsでnamespaced_controllerの値を設定する際に、context[:controller]の値をもとに独自のロジックで処理を行っていたのを、controller_pathメソッドを使用するよう修正しています。
Fix event reporter log subscriber consuming events without namespaces
activesupport/lib/active_support/event_reporter/log_subscriber.rbの修正です。
event repoterでnamespaceが無い値を(e.g. ActiveSupport.event_reporter.notify("no_namespace_info_only"))をreportした際に、エラーになってしまうバグがあったのを修正しています。
Add callable support to allow_nil and allow_blank
activemodel/lib/active_model/validator.rbの修正です。
validationのallow_nil及びallow_blankに、allow_nil及びallow_blankに指定する値を返すmethod nameまたはprocを指定出来るよう修正しています。
class EnrollmentForm include ActiveModel::Validations attr_accessor :course validates :course, inclusion: { in: :open_courses }, allow_nil: :saving_progress? end
Remove ISO_DATETIME constant which is no longer used
activemodel/lib/active_model/type/helpers/time_value.rbの修正です。
使用していないISO_DATETIME定数を削除しています。