This week in Rails
Past issues
Subscribe
Oct 19
Nov 2
Oct 23 2020
Active Record values_at and cache improvements
Hi, it's
Wojtek
bringing you the latest changes summary from Ruby on Rails codebase.
Add values_at method to Active Record
Simplifies retrieving values of specific attributes on Active Record model instance, ie
person.values_at(:name, :age).
Use environment variable MEMCACHE_SERVERS by default
When no specific configuration is provided,
MEMCACHE_SERVERS
environment variable will be checked first before falling back to localhost
127.0.0.1:11211
address in
ActiveSupport::Cache::MemCacheStore
.
Add store name to cache instrumentation
When subscribing to a "cache" instrumentation events, additional parameter with store name is provided to ease recognizing the context.
12 people
contributed to Rails since the last week. Check out
the detailed list of all changes
. Until next week!
Previous Issues
Jan 24
Defaults to "main" branch name, new webpacker guide and improved strict loading
Jan 11
Hello 2021: Sole record, Same form multiple verbs, Validator with range, Rich text control
Dec 20
Rails 6.1, benchmark anywhere, bugfixes and more!
Dec 4
Rails 6.1 RC2 and some enhancements
Nov 30
New Active Record and Action View capabilities, bug fixes and more!
Nov 23
Bugfixes, improvements and more!
Nov 13
Enhanced strict loading, multiple databases and more!
Nov 2
Multiple database improvements, bugfixes and more!
Oct 23
Active Record values_at and cache improvements
Oct 19
New API Docs site, configurable cache coder, bug fixes, and more!
Load More