Greetings! Daniel here, reporting from Brooklyn, NY.
Resolving templates used to get pretty slow as the number of view paths, handlers, and formats increased. Replacing 1682 system calls with 14 sounds pretty great to me!
2.4% faster, 1.7% faster, 1.58% faster. Many thanks to Richard for working hard so our applications don't need to!
With a few clever tweaks, it has never been easier to find out if 4611686018427387903 is a multiple of 42.
The previous default character set did not support supplemental characters like emoji. The 4-Byte utf8mb4 has you covered. 👍 
Nobody wants sensitive data to show up in logs. The new filter_attributes setting allows you to filter out sensitive attributes when calling a model's inspect method.
By default the Active Storage routes begin with
/rails/active_storage. If that doesn't suit you, you can now use any scope you like by setting config.active_storage.routes_prefix in your application config.
Action Cable now passes an id to Redis, which can help you distinguish between Action Cable's connection and any other connections you might have.
44 people contributed to Rails over the past two weeks. Check out the full list of changes. If you are interested in helping out, we have plenty of open issues. I hope to see your name on the list next week!
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA
Unsubscribe | View in browser