1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #28446 from y-yagi/move_new_changelog_entry_to_the_top

Move new CHANGELOG entry to the top [ci skip]
This commit is contained in:
Jon Moss 2017-03-18 21:39:50 -04:00 committed by GitHub
commit 9bcc021286

View file

@ -1,3 +1,10 @@
* Fixed bug in `DateAndTime::Compatibility#to_time` that caused it to
raise `RuntimeError: can't modify frozen Time` when called on any frozen `Time`.
Properly pass through the frozen `Time` or `ActiveSupport::TimeWithZone` object
when calling `#to_time`.
*Kevin McPhillips* & *Andrew White*
* Remove implicit coercion deprecation of durations
In #28204 we deprecated implicit conversion of durations to a numeric which
@ -208,13 +215,6 @@
## Rails 5.1.0.beta1 (February 23, 2017) ##
* Fixed bug in `DateAndTime::Compatibility#to_time` that caused it to
raise `RuntimeError: can't modify frozen Time` when called on any frozen `Time`.
Properly pass through the frozen `Time` or `ActiveSupport::TimeWithZone` object
when calling `#to_time`.
*Kevin McPhillips* & *Andrew White*
* Cache `ActiveSupport::TimeWithZone#to_datetime` before freezing.
*Adam Rice*