Module: AbstractController

Extended by:
ActiveSupport::Autoload
Defined in:
actionpack/lib/abstract_controller.rb,
actionpack/lib/abstract_controller/error.rb,
actionpack/lib/abstract_controller/logger.rb,
actionpack/lib/abstract_controller/caching.rb,
actionpack/lib/abstract_controller/helpers.rb,
actionpack/lib/abstract_controller/url_for.rb,
actionpack/lib/abstract_controller/collector.rb,
actionpack/lib/abstract_controller/rendering.rb,
actionpack/lib/abstract_controller/deprecator.rb,
actionpack/lib/abstract_controller/asset_paths.rb,
actionpack/lib/abstract_controller/translation.rb,
actionpack/lib/abstract_controller/caching/fragments.rb,
actionpack/lib/abstract_controller/railties/routes_helpers.rb

Defined Under Namespace

Modules: AssetPaths, Caching, Collector, Helpers, Logger, Railties, Rendering, Translation, UrlFor Classes: DoubleRenderError, Error

Class Method Summary collapse

Methods included from ActiveSupport::Autoload

autoload, autoload_at, autoload_under, eager_autoload, eager_load!, extended

Class Method Details

.deprecatorObject

:nodoc:



4
5
6
# File 'actionpack/lib/abstract_controller/deprecator.rb', line 4

def self.deprecator # :nodoc:
  @deprecator ||= ActiveSupport::Deprecation.new
end

.eager_load!Object



25
26
27
28
29
30
31
32
33
# File 'actionpack/lib/abstract_controller.rb', line 25

def self.eager_load!
  super
  AbstractController::Caching.eager_load!
  AbstractController::Base.descendants.each do |controller|
    unless controller.abstract?
      controller.eager_load!
    end
  end
end