This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
Changes
- BREAKING CHANGE: drop support for end-of-life versions of rails. Rails 5.2+ supported
- support Rails 6.1+
Fixes
- fixes the following deprecations when using against rails 6.1
DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2.
To achieve the same use:
errors.attribute_names
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated.
Please call `ActiveModel::Errors#add` instead.
DEPRECATION WARNING: Calling `clear` to an ActiveModel::Errors message array in order to delete all errors is deprecated.
Please call `ActiveModel::Errors#delete` instead.