aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-05-09 01:20:23 +0200
committerXavier Noria <fxn@hashref.com>2010-05-09 01:20:23 +0200
commit636ffa1f089a51c98fce616191846eaba93d7b87 (patch)
treea8c0178a4eccfb55253f957e5bc2015381fb4975 /activerecord/lib/active_record/attribute_methods.rb
parent605c6455ac722ed9679e17458a47cc649cdedab0 (diff)
downloadrails-636ffa1f089a51c98fce616191846eaba93d7b87.tar.gz
rails-636ffa1f089a51c98fce616191846eaba93d7b87.tar.bz2
rails-636ffa1f089a51c98fce616191846eaba93d7b87.zip
Backports Date#>> from 1.9 so that calculations do the right thing around the calendar reform
Our next_month gives November for some late dates in September of 1582. Related methods, last_*, and in general advance have the same issues. This commit fixes those, see the test suite for expected behavior, which we still run in 1.9 to ensure it matches as we do with other methods defined in Date in 1.9.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
0 files changed, 0 insertions, 0 deletions