Merge pull request #49110 from Shopify/to-key-with-cpk-changelog-entry

Add CHANGELOG entries for `ActiveModel::Conversion#to_key` changes
This commit is contained in:
Eileen M. Uchitelle 2023-09-01 12:09:39 -04:00 committed by GitHub
commit b1fca67155
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

@ -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*

@ -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