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:
commit
b1fca67155
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user