diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-06-08 08:22:29 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-06-08 09:45:45 +0100 |
commit | f42e0fd3f4d3e2f4b806b001b6ed88c8da8cd833 (patch) | |
tree | c46885fef4c3c9c879f8198f0307402b4a0c4628 /activerecord/test/models/reply.rb | |
parent | 20daaf4e2ab30762eeaf023e4870f5a10c34c534 (diff) | |
download | rails-f42e0fd3f4d3e2f4b806b001b6ed88c8da8cd833.tar.gz rails-f42e0fd3f4d3e2f4b806b001b6ed88c8da8cd833.tar.bz2 rails-f42e0fd3f4d3e2f4b806b001b6ed88c8da8cd833.zip |
Override Time.at to work with Time-like values
Time.at allows passing a single Time argument which is then converted
to an integer. The conversion code since 1.9.3r429 explicitly checks
for an instance of Time so we need to override it to allow DateTime
and ActiveSupport::TimeWithZone values.
Diffstat (limited to 'activerecord/test/models/reply.rb')
0 files changed, 0 insertions, 0 deletions