



























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!
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。