From 41f8a9a03a495e0cdad93515b3b0ed25d494654c Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Thu, 16 Mar 2017 21:35:37 +0900 Subject: Move new CHANGELOG entry to the top [ci skip] --- activesupport/CHANGELOG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'activesupport') diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 969d36c303..d12cbc34dd 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -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* -- cgit v1.2.3