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/test/cases/schema_dumper_test.rb | |
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/test/cases/schema_dumper_test.rb')
0 files changed, 0 insertions, 0 deletions