diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-05-01 15:37:43 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 15:37:43 -0500 |
commit | 51a481fa7400772ca23c0e8e658523d78f8d8305 (patch) | |
tree | 4fad66e1a2885b5dec31da2c54eff0547ae33121 /guides | |
parent | b8f88b961092b6b289d18017ab72f3958a315b1d (diff) | |
parent | 21e0c88fc630467905781b5ddefe28a22d476f68 (diff) | |
download | rails-51a481fa7400772ca23c0e8e658523d78f8d8305.tar.gz rails-51a481fa7400772ca23c0e8e658523d78f8d8305.tar.bz2 rails-51a481fa7400772ca23c0e8e658523d78f8d8305.zip |
Merge pull request #36155 from prathamesh-sonpatki/am-release-notes
Active Model release notes [ci skip]
Diffstat (limited to 'guides')
-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 -------------- |