From 21e0c88fc630467905781b5ddefe28a22d476f68 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Wed, 1 May 2019 20:20:53 +0530 Subject: Active Model release notes [ci skip] --- guides/source/6_0_release_notes.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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 -------------- -- cgit v1.2.3