diff options
author | deeeki <deeeki@gmail.com> | 2014-05-27 11:08:10 +0900 |
---|---|---|
committer | deeeki <deeeki@gmail.com> | 2014-05-27 12:48:33 +0900 |
commit | 1686c9a5f60fc64a7b79289d2fdb6efd74ee7d51 (patch) | |
tree | e02a85f8bddf3750c9802b7852dbcabb3f4dc386 /activesupport/lib/active_support/time.rb | |
parent | 0bdfb4d166f816b104494f0d1adae832aed0421b (diff) | |
download | rails-1686c9a5f60fc64a7b79289d2fdb6efd74ee7d51.tar.gz rails-1686c9a5f60fc64a7b79289d2fdb6efd74ee7d51.tar.bz2 rails-1686c9a5f60fc64a7b79289d2fdb6efd74ee7d51.zip |
Remove `require 'active_support'` from individual modules
Let users require `active_support` before loading any ActiveSupport modules
http://guides.rubyonrails.org/active_support_core_extensions.html
Diffstat (limited to 'activesupport/lib/active_support/time.rb')
-rw-r--r-- | activesupport/lib/active_support/time.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/time.rb b/activesupport/lib/active_support/time.rb index 92a593965e..ea2d3391bd 100644 --- a/activesupport/lib/active_support/time.rb +++ b/activesupport/lib/active_support/time.rb @@ -1,5 +1,3 @@ -require 'active_support' - module ActiveSupport autoload :Duration, 'active_support/duration' autoload :TimeWithZone, 'active_support/time_with_zone' |