This week in Rails
Past issues
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
Sep 27
Autumn is here, and so is Rails 7 Alpha 2! 🍂
Sep 17
Rails 7 alpha released
Sep 11
Bye-bye Byebug, Hello jsbundling and cssbundling!
Aug 28
Remove default reliance on Sass and more!
Aug 21
Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!
Aug 13
ESM importmap and Marginalia
Aug 8
Active Record goodies and more!
Jul 31
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Jul 23
Active record improvements and much more
Jul 19
Performance and parallel testing improvements and more!
Load More