Method: AbstractController.eager_load!

Defined in:
lib/abstract_controller.rb

.eager_load!Object



27
28
29
30
31
32
33
34
35
# File 'lib/abstract_controller.rb', line 27

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