Module: AbstractController

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

Defined Under Namespace

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

Class Method Summary collapse

Class Method Details

.deprecatorObject

:nodoc:



4
5
6
# File '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 '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