diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-12-22 17:39:41 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-12-22 17:39:41 -0600 |
commit | f737c2d69bb3659a553c7c0e21e316b1a4a1b98a (patch) | |
tree | be1fe1ccea53407b2b2427043784932b158fa59e /activemodel/lib/active_model.rb | |
parent | 22752ec27c4eeb50ec12ed2f147f1c066062cabd (diff) | |
download | rails-f737c2d69bb3659a553c7c0e21e316b1a4a1b98a.tar.gz rails-f737c2d69bb3659a553c7c0e21e316b1a4a1b98a.tar.bz2 rails-f737c2d69bb3659a553c7c0e21e316b1a4a1b98a.zip |
All AMo modules are safe to defer
Diffstat (limited to 'activemodel/lib/active_model.rb')
-rw-r--r-- | activemodel/lib/active_model.rb | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb index 46caa53219..e0de27b96d 100644 --- a/activemodel/lib/active_model.rb +++ b/activemodel/lib/active_model.rb @@ -29,33 +29,29 @@ require 'active_support' module ActiveModel extend ActiveSupport::Autoload - eager_autoload do - autoload :AttributeMethods - autoload :Conversion - autoload :DeprecatedErrorMethods - autoload :Dirty - autoload :Errors - autoload :Lint - autoload :Name, 'active_model/naming' - autoload :Naming - autoload :Observer, 'active_model/observing' - autoload :Observing - autoload :Serialization - autoload :StateMachine - autoload :Translation - autoload :Validations - autoload :ValidationsRepairHelper - autoload :Validator - autoload :VERSION - end + autoload :AttributeMethods + autoload :Conversion + autoload :DeprecatedErrorMethods + autoload :Dirty + autoload :Errors + autoload :Lint + autoload :Name, 'active_model/naming' + autoload :Naming + autoload :Observer, 'active_model/observing' + autoload :Observing + autoload :Serialization + autoload :StateMachine + autoload :Translation + autoload :Validations + autoload :ValidationsRepairHelper + autoload :Validator + autoload :VERSION module Serializers extend ActiveSupport::Autoload - eager_autoload do - autoload :JSON - autoload :Xml - end + autoload :JSON + autoload :Xml end end |