- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
- No Changes *
- No Changes *
- No Changes *
- No changes.
-
Passwords with spaces only allowed in
ActiveModel::SecurePassword.Presence validation can be used to restore old behavior.
Yevhene Shemet
-
Validate options passed to
ActiveModel::Validations.validate.Preventing, in many cases, the simple mistake of using
validateinstead ofvalidates.Sonny Michaud
-
Deprecate
reset_#{attribute}in favor ofrestore_#{attribute}.These methods may cause confusion with the
reset_changes, which has different behaviour.Rafael Mendonça França
-
Deprecate
ActiveModel::Dirty#reset_changesin favor of#clear_changes_information.Method's name is causing confusion with the
reset_#{attribute}methods. Whilereset_namesets the value of the name attribute to previous valuereset_changesonly discards the changes.Rafael Mendonça França
-
Added
restore_attributesmethod toActiveModel::DirtyAPI which restores the value of changed attributes to previous value.Igor G.
-
Allow proc and symbol as values for
only_integerofNumericalityValidatorRobin Mehner
-
has_secure_passwordnow verifies that the given password is less than 72 characters if validations are enabled.Fixes #14591.
Akshay Vishnoi
-
Remove deprecated
Validator#setupwithout replacement.See #10716.
Kuldeep Aggarwal
-
Add plural and singular form for length validator's default messages.
Abd ar-Rahman Hamid
-
Introduce
validateas an alias forvalid?.This is more intuitive when you want to run validations but don't care about the return value.
Henrik Nyh
Please check 4-1-stable for previous changes.