This week in Rails
Past issues
Subscribe
May 27
Jun 16
Jun 9 2018
Improvements, bug fixes and more!
Hello everyone! This is
Greg
, with the latest news about Ruby on Rails!
Featured
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
open issues
?
Improved
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
ActiveSupport::TimeZone#at
now accepts an optional second argument, containing (fractional) microseconds, just like Ruby's
Time::at
does.
Avoid allocating column names where possible
When requesting columns names from database adapters,
ActiveRcord:Result
used to dup/freeze column names. This change prefers using
fstrings,
which cuts down on repeat allocations.
Fixed
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.
Wrapping Up
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
Unsubscribe
|
View in browser
May 27
Archive
Jun 16