Skip to content

Commit 51a481f

Browse files
authored
Merge pull request rails#36155 from prathamesh-sonpatki/am-release-notes
Active Model release notes [ci skip]
2 parents b8f88b9 + 21e0c88 commit 51a481f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

guides/source/6_0_release_notes.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,30 @@ Please refer to the [Changelog][active-model] for detailed changes.
634634
* Add `ActiveModel::Errors#of_kind?` to check presence of a specific error.
635635
([Pull Request](https://github.com/rails/rails/pull/34866))
636636

637+
* Fix `ActiveModel::Serializers::JSON#as_json` method for timestamps.
638+
([Pull Request](https://github.com/rails/rails/pull/31503))
639+
640+
* Fix numericality validator to still use value before type cast except Active Record.
641+
([Pull Request](https://github.com/rails/rails/pull/33654))
642+
643+
* Fix numericality equality validation of `BigDecimal` and `Float`
644+
by casting to `BigDecimal` on both ends of the validation.
645+
([Pull Request](https://github.com/rails/rails/pull/32852))
646+
647+
* Fix year value when casting a multiparameter time hash.
648+
([Pull Request](https://github.com/rails/rails/pull/34990))
649+
650+
* Type cast falsy boolean symbols on boolean attribute as false.
651+
([Pull Request](https://github.com/rails/rails/pull/35794))
652+
653+
* Return correct date while converting parameters in `value_from_multiparameter_assignment`
654+
for `ActiveModel::Type::Date`.
655+
([Pull Request](https://github.com/rails/rails/pull/29651))
656+
657+
* Fall back to parent locale before falling back to the `:errors` namespace while fetching
658+
error translations.
659+
([Pull Request](https://github.com/rails/rails/pull/35424))
660+
637661
Active Support
638662
--------------
639663

0 commit comments

Comments
 (0)