This week in Rails
Jun 9 2018
Improvements, bug fixes and more!
Hello everyone! This is
, with the latest news about Ruby on Rails!
This Week's Contributors
13 awesome people contributed to Rails this past week!
If you'd like to be included here, why not check out the list of
Raise exception when column is already defined
With this change, migrations will raise an exception when defining an already defined column.
Align Time.zone.at method signature with that of Time::at
now accepts an optional second argument, containing (fractional) microseconds, just like Ruby's
Avoid allocating column names where possible
When requesting columns names from database adapters,
used to dup/freeze column names. This change prefers using
which cuts down on repeat allocations.
Parent record should not get saved with duplicate children records
Before this fix a duplicated child relations validation error didn't propagate to the parent record, but now it is all fixed.
As always, there were many more changes to the Rails codebase than we can cover here - if you're interested, you can check out
the full listing of commits from the last two weeks
. Until next week!
This Week in Rails · 30 N Racine #200 · Chicago IL 60607 · USA
View in browser