Rails 7.1 adds ActiveRecord::Base::normalizes - BigBinary Blog
11-May-2023 569
Rails 7.1 has introduced a new method in Active Record that can be used to declare normalizations for attribute values. This can be especially useful for sanitizing user input, ensuring consistent formatting, or cleaning up data from external sources.Before Rails 7.1, you could normalize attributes using before_save callback.
Rails 7.1 adds ActiveRecord::Base::normalizes - BigBinary Blog #ruby #rubydeveloper #rubyonrails #Rails #ActiveRecord::Base::normalizes #BigBinary #activerecord::base::normalizes #bigbinary #blog https://rubyonrails.ba/link/rails-7-1-adds-activerecord-base-normalizes-bigbinary-blog