Closed fivedigit closed 10 years ago
Interesting, I've never run into this issue before, even with Rails 4. What happens if instead you explicitly require "time"
instead?
An explicit require 'active_support/core_ext/numeric/time.rb'
works, though Rails should already be loading these extensions.
Not sure why, but after upgrading to Rails 4 this issue started. Now it explicitly loads the Time class form the default module to fix this issue, figured this change wouldn't hurt anyway.