aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-04-05 11:27:54 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-04-05 11:34:52 +0100
commit155f86675ce6f2995a61eee9e3d814c974d2bec8 (patch)
treea104bb9efc87c3168cad4ee43f78670412965d4b /activerecord/lib/active_record.rb
parentdce398d579e484ff64a0260cea4591ad952dc99c (diff)
downloadrails-155f86675ce6f2995a61eee9e3d814c974d2bec8.tar.gz
rails-155f86675ce6f2995a61eee9e3d814c974d2bec8.tar.bz2
rails-155f86675ce6f2995a61eee9e3d814c974d2bec8.zip
Improve `belongs_to touch: true` timestamp test
Round off time to a whole second value to compensate for databases that don't support fractional timestamps. Also add a assertion to check that the old record is touched when the association is cleared.
Diffstat (limited to 'activerecord/lib/active_record.rb')
0 files changed, 0 insertions, 0 deletions