Less than two years ago Rails introduced the Webpacker gem, making it easy to manage JavaScript with webpack. We started October strong by merging a whole bunch of commits by a number of people to make Webpacker the default for Rails 6.
In part 4 of the series, Eileen adds connects_to and connected_to. Stay tuned for the next episode! We also got multi-db support for db:migrate:status. I like the approach of making the change easy, then making the change.
With the release of MySQL 8.0.13, we can now support functions and expressions as default values, and functional key parts that index expression values rather than column or column prefix values.
Why spend time tracking down which line of your code is triggering a database query when Active Record can just tell you? Well you might do just that if you don't know about the verbose_query_logs option. Luckily we now have a section in our guides describing the option in detail.
This is a fun option I didn't know existed. There is something mildly foreboding about the name deep_interpolation, I think. Anyway, our I18n guide now documents it.
As the weather gets colder here in New York, I am glad I don't need to be reminded of how freezing I am whenever I look through the Rails codebase.
77 people contributed to Rails since our last issue. There are also 77 partitions for the number 12. Spooky coincidence? I think so.
Check out the full list of changes. If you are interested in contributing, 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