aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_record_validations.md
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-06-08 08:22:29 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-06-08 09:50:15 +0100
commitb7f9de27f0558d6144f982cae83f32ca85a07f7e (patch)
tree1fe372c6c29f65141340cbf2835e0c34e8393e71 /guides/source/active_record_validations.md
parentad3d333321d2cfdac87600f6440bc69b0945f37c (diff)
downloadrails-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 'guides/source/active_record_validations.md')
0 files changed, 0 insertions, 0 deletions