diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 16:10:20 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 16:10:20 -0800 |
commit | 49752e6ca5a7f5323ec10fc144bd62d3dad67781 (patch) | |
tree | 4e54dbf580307b1c5ca61f219eb10f08d1910f1e | |
parent | 1250faa858c825c7cb1e673dbc476b1629b154b2 (diff) | |
download | rails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.tar.gz rails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.tar.bz2 rails-49752e6ca5a7f5323ec10fc144bd62d3dad67781.zip |
Duration requires BasicObject in case it's autoloaded early
-rw-r--r-- | activesupport/lib/active_support/duration.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/duration.rb b/activesupport/lib/active_support/duration.rb index 8eae85d38e..c41e86dfd1 100644 --- a/activesupport/lib/active_support/duration.rb +++ b/activesupport/lib/active_support/duration.rb @@ -1,3 +1,5 @@ +require 'active_support/basic_object' + module ActiveSupport # Provides accurate date and time measurements using Date#advance and # Time#advance, respectively. It mainly supports the methods on Numeric, |