diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-05-01 20:20:53 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2019-05-01 20:20:53 +0530 |
commit | 21e0c88fc630467905781b5ddefe28a22d476f68 (patch) | |
tree | 645ee5f5f04407cb7764dfc9c90a9ed586a8e7f4 /guides/source/6_0_release_notes.md | |
parent | a023e2180093ebc517a642aaf21f3c7241c67657 (diff) | |
download | rails-21e0c88fc630467905781b5ddefe28a22d476f68.tar.gz rails-21e0c88fc630467905781b5ddefe28a22d476f68.tar.bz2 rails-21e0c88fc630467905781b5ddefe28a22d476f68.zip |
Active Model release notes [ci skip]
Diffstat (limited to 'guides/source/6_0_release_notes.md')
-rw-r--r-- | guides/source/6_0_release_notes.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/guides/source/6_0_release_notes.md b/guides/source/6_0_release_notes.md index 14db71f2b5..cf8385faa3 100644 --- a/guides/source/6_0_release_notes.md +++ b/guides/source/6_0_release_notes.md @@ -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 -------------- |