Hey there!
This is Washington with the latest news from Rails!
Again we start pointing to the 40 people who took some time to improve the framework this week!
After a round of release candidates here goes the latest stable releases. Hopefully a quite easy upgrade if you’ve been following the latest security patches.
ActionController::Parameters#dig
Similar to Hash#dig
, this easter egg for Ruby 2.3.0 users was introduced this week and should land with Rails 5.
One last piece of a non-native JSON data type, aka Ruby symbols, was normalized so that one can make successful run time checks.
respond_to
collectorThis is done so that actions using respond_to
blocks go hand in hand with Rails 5 default :no_content
response for missing templates.
Marshal.load
from looping infinitelyImproved compatibility for marshalled objects between Rails versions, e.g. Rails 4.0.x and 4.2.x
default_scope
within the scope of subclassGive a proper context to queries involving a default_scope
triggered from a subclass of ActiveRecord#Base.abstract_class
.
That’s all for This week in Rails. As always, there are plenty of things we’re not able to cover here, so take a look at the changes yourself.
Until next time!