Hello! This is your host Andy, bringing you another edition of This Week in Rails.
I'm in a cold Northern climate ❄️️ and we're in the middle of Winter right now. To me, it's the best time of the year to stay inside and dive into some new code. Let's take a look at some of the latest changes made to Ruby on Rails in the past week.
This PR refactors reflections such that we can iterate over each reflection and ask the reflection object what scopes should be applied to the query we are currently building.
This patch updates how column_definitions() for Postgres is calculated. The author has a nice usage of the EXPLAIN tool, to show that the new implementation is more efficient.