This week in Rails
Past issues
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
Previous Issues
Sep 27
Autumn is here, and so is Rails 7 Alpha 2! 🍂
Sep 18
Rails 7 alpha released
Sep 12
Bye-bye Byebug, Hello jsbundling and cssbundling!
Aug 29
Remove default reliance on Sass and more!
Aug 21
Good-bye classic mode, --skip-puma, --skip-gemfile.. hello weekday_options_for_select!
Aug 13
ESM importmap and Marginalia
Aug 8
Active Record goodies and more!
Jul 31
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Jul 23
Active record improvements and much more
Jul 19
Performance and parallel testing improvements and more!
Load More