diff options
author | Geoff Buesing <gbuesing@gmail.com> | 2009-08-03 21:54:40 -0500 |
---|---|---|
committer | Geoff Buesing <gbuesing@gmail.com> | 2009-08-03 22:03:47 -0500 |
commit | 6f97ad07ded847f29159baf71050c63f04282170 (patch) | |
tree | 7b02c02470f32eeb4c6e3c91008d74e6d093c445 /activerecord/CHANGELOG | |
parent | 9b68877897a44d4484cde40117abc42c9b029154 (diff) | |
download | rails-6f97ad07ded847f29159baf71050c63f04282170.tar.gz rails-6f97ad07ded847f29159baf71050c63f04282170.tar.bz2 rails-6f97ad07ded847f29159baf71050c63f04282170.zip |
quoted_date converts time-like objects to ActiveRecord::Base.default_timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc [#2946 state:resolved]
Diffstat (limited to 'activerecord/CHANGELOG')
-rw-r--r-- | activerecord/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index 5515cf6b1a..9adc6b887f 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *Edge* +* quoted_date converts time-like objects to ActiveRecord::Base.default_timezone before serialization. This allows you to use Time.now in find conditions and have it correctly be serialized as the current time in UTC when default_timezone == :utc. #2946 [Geoff Buesing] + * SQLite: drop support for 'dbfile' option in favor of 'database.' #2363 [Paul Hinze, Jeremy Kemper] * Added :primary_key option to belongs_to associations. #765 [Szymon Nowak, Philip Hallstrom, Noel Rocha] |