errors.messages used to be a hash you could poke at directly. Rails 6.1 turned errors into queryable objects (errors.where, of_kind?) and Rails 7.0 dropped the old deprecated methods. go.fastruby.io/6by #RailsUpgrade
0 reposts0 likes
errors.messages used to be a hash you could poke at directly. Rails 6.1 turned errors into queryable objects (errors.where, of_kind?) and Rails 7.0 dropped the old deprecated methods. go.fastruby.io/6by #RailsUpgrade
0 reposts0 likes
No replies yet.