mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
All ARes modules are safe to defer
This commit is contained in:
parent
2e4e8d156c
commit
22752ec27c
2 changed files with 11 additions and 10 deletions
|
@ -33,14 +33,12 @@ require 'active_model'
|
|||
module ActiveResource
|
||||
extend ActiveSupport::Autoload
|
||||
|
||||
eager_autoload do
|
||||
autoload :Base
|
||||
autoload :Connection
|
||||
autoload :CustomMethods
|
||||
autoload :Formats
|
||||
autoload :HttpMock
|
||||
autoload :Observing
|
||||
autoload :Schema
|
||||
autoload :Validations
|
||||
end
|
||||
autoload :Base
|
||||
autoload :Connection
|
||||
autoload :CustomMethods
|
||||
autoload :Formats
|
||||
autoload :HttpMock
|
||||
autoload :Observing
|
||||
autoload :Schema
|
||||
autoload :Validations
|
||||
end
|
||||
|
|
|
@ -13,6 +13,9 @@ require 'set'
|
|||
require 'uri'
|
||||
|
||||
require 'active_resource/exceptions'
|
||||
require 'active_resource/connection'
|
||||
require 'active_resource/formats'
|
||||
require 'active_resource/schema'
|
||||
|
||||
module ActiveResource
|
||||
# ActiveResource::Base is the main class for mapping RESTful resources as models in a Rails application.
|
||||
|
|
Loading…
Reference in a new issue