identity_cache
identity_cache copied to clipboard
Split the with_deferred_parent_expiration and with_deferred_parent_expiration
- Split the with_deferred_parent_expiration and with_deferred_parent_expiration to ensure the API is backward compatible
- Add a deprecation message for with_deferred_parent_expiration
- Restore all the original unit tests of with_deferred_parent_expiration, to ensure the behaviour of it is not changed
Deprecation message (tested with ActiveRecord 7.0 and 7.2):