This week saw contributions from 30 fabulous people. 2 of those had a commit merged into Rails for the very first time.
A big thank you to you all! โค๏ธ If you fancy seeing yourself up there next week, why not take a peek at the list of current issues? Improvements to the documentation can also be a great place to start!
and pass a key based on a callable block, which allows us to depend on cache's and cache expiration based on result of the call. In the above case, the cache will be expired with changes to project and current_user objects.
This change added exists? and update_all to CollectionProxy to respect an association scope.
This was causing issues in newest version of Rails whenever update_all or exists? were called on a collection object like user.references.update_all(...).
Before this change, multi-parameter attributes conversion with invalid params caused issue, when AR's time_zone_aware_attributes was enabled, since that caused an invalid conversion.ย
The new change, now tries conversion only when a valid value is available for safe-conversion.
AEAD modes like aes-256-gcmย provide both confidentiality and data authenticity, eliminating the need to use MessageVerifier to check if the encrypted data has been tampered with. This speeds up encryption/decryption and results in shorter cipher text.
This change removes creation of the config/initializers/session_store.rbย to define session store via initializer and sets up default session store internally.
By default the session store will be set to cookie store with application name as session key.
Wrappin' Up
That's it from This Week in Rails! There were many other great contributions, too numerous to list here, but feel free to check them out!