Hello everyone! This is Greg, with the latest news about Ruby on Rails!
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?
With this change, migrations will raise an exception when defining an already defined column.
ActiveSupport::TimeZone#at now accepts an optional second argument, containing (fractional) microseconds, just like Ruby’s Time::at does.
When requesting columns names from database adapters, ActiveRecord:Result used to dup/freeze column names. This change prefers using fstrings, which cuts down on repeat allocations.
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 this past weeks. Until next week!