Goal: Remove Rails 6.1 deprecation warning and ensure compatibility with Rails 7 where ActiveModel::Errors yields Error objects instead of [attr, message] pairs.
Scope: Update core/app/models/workarea/user/password_reset.rb to iterate user.errors.each do |error| and copy error.attribute/error.message.
Verify: bundle exec ruby -Icore/test core/test/models/workarea/user/password_reset_test.rb (no deprecation warning in output)
Branch pattern: wa-new-008-*
PR target: next
Goal: Remove Rails 6.1 deprecation warning and ensure compatibility with Rails 7 where
ActiveModel::ErrorsyieldsErrorobjects instead of[attr, message]pairs.Scope: Update
core/app/models/workarea/user/password_reset.rbto iterateuser.errors.each do |error|and copyerror.attribute/error.message.Verify:
bundle exec ruby -Icore/test core/test/models/workarea/user/password_reset_test.rb(no deprecation warning in output)Branch pattern:
wa-new-008-*PR target:
next