On Jul 1, 2008, at 8:23 AM, Tom Stuart wrote:
$ ./script/console
>> Date.today.minus_with_duration(5.days)
=> Thu, 26 Jun 2008
>> Date.today.minus_without_duration(5.days.to_i)
=> Sun, 17 Sep 0825

Is this a load-order problem? Perhaps ActiveSupport::CoreExtensions::Date::Calculations isn't kicking in correctly.

Hrm, quite interesting there. So would this be considered a Rails issue?
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to