Active Model release notes [ci skip]

This commit is contained in:
Prathamesh Sonpatki 2019-05-01 20:20:53 +05:30
parent a023e21800
commit 21e0c88fc6
No known key found for this signature in database
GPG Key ID: C1819D4BD8FFDDC4
1 changed files with 24 additions and 0 deletions

View File

@ -634,6 +634,30 @@ Please refer to the [Changelog][active-model] for detailed changes.
* Add `ActiveModel::Errors#of_kind?` to check presence of a specific error.
([Pull Request](https://github.com/rails/rails/pull/34866))
* Fix `ActiveModel::Serializers::JSON#as_json` method for timestamps.
([Pull Request](https://github.com/rails/rails/pull/31503))
* Fix numericality validator to still use value before type cast except Active Record.
([Pull Request](https://github.com/rails/rails/pull/33654))
* Fix numericality equality validation of `BigDecimal` and `Float`
by casting to `BigDecimal` on both ends of the validation.
([Pull Request](https://github.com/rails/rails/pull/32852))
* Fix year value when casting a multiparameter time hash.
([Pull Request](https://github.com/rails/rails/pull/34990))
* Type cast falsy boolean symbols on boolean attribute as false.
([Pull Request](https://github.com/rails/rails/pull/35794))
* Return correct date while converting parameters in `value_from_multiparameter_assignment`
for `ActiveModel::Type::Date`.
([Pull Request](https://github.com/rails/rails/pull/29651))
* Fall back to parent locale before falling back to the `:errors` namespace while fetching
error translations.
([Pull Request](https://github.com/rails/rails/pull/35424))
Active Support
--------------