diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-01-26 16:41:41 +0000 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-01-26 16:57:34 +0000 |
commit | 41ff6a10216f48f43605a1f9cd6094765cab750f (patch) | |
tree | 95b226b90d38bf906ee28ee118296ffd30a9264e /activerecord/lib/active_record/migration.rb | |
parent | bc982cbcb34129ea2cfe8aa1f8e0b40e444e68db (diff) | |
download | rails-41ff6a10216f48f43605a1f9cd6094765cab750f.tar.gz rails-41ff6a10216f48f43605a1f9cd6094765cab750f.tar.bz2 rails-41ff6a10216f48f43605a1f9cd6094765cab750f.zip |
Simplify type casting code for timezone aware attributes
With the addition of String#in_time_zone and Date#in_time_zone
we can simplify the type casting code by checking if the value
has an `in_time_zone` method.
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
0 files changed, 0 insertions, 0 deletions