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:50:15 +0100 |
commit | b7f9de27f0558d6144f982cae83f32ca85a07f7e (patch) | |
tree | 1fe372c6c29f65141340cbf2835e0c34e8393e71 /actionpack/test/template/text_helper_test.rb | |
parent | ad3d333321d2cfdac87600f6440bc69b0945f37c (diff) | |
download | rails-b7f9de27f0558d6144f982cae83f32ca85a07f7e.tar.gz rails-b7f9de27f0558d6144f982cae83f32ca85a07f7e.tar.bz2 rails-b7f9de27f0558d6144f982cae83f32ca85a07f7e.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 'actionpack/test/template/text_helper_test.rb')
0 files changed, 0 insertions, 0 deletions