Skip to content

Commit

Permalink
Add CHANGELOG entries for ActiveModel::Conversion#to_key changes
Browse files Browse the repository at this point in the history
`8a5cf4cf4415ae1cdad7feecfb27149c151b0b10` made changes to `to_key` in order
to support composite identifiers. This commit adds CHANGELOG entries for those.
  • Loading branch information
nvasilevski committed Sep 1, 2023
1 parent 85ea227 commit 0df4df4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions activemodel/CHANGELOG.md
@@ -1,3 +1,9 @@
* Support composite identifiers in `to_key`

`to_key` avoids wrapping `#id` value into an `Array` if `#id` already an array

*Nikita Vasilevsky*

* Add `ActiveModel::Conversion.param_delimiter` to configure delimiter being used in `to_param`

*Nikita Vasilevsky*
Expand Down
6 changes: 6 additions & 0 deletions activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
* Support composite identifiers in `to_key`

`to_key` avoids wrapping `#id` value into an `Array` if `#id` already an array

*Nikita Vasilevsky*

* Allow batching methods to use already loaded relation if available

Calling batch methods on already loaded relations will use the records previously loaded instead of retrieving
Expand Down

0 comments on commit 0df4df4

Please sign in to comment.