Sha256: 3b6a189226f89b043c53f3d8acf94f5fbb33520cb6f2576ec2d0898ff1c9f089

Contents?: true

Size: 821 Bytes

Versions: 23

Compression:

Stored size: 821 Bytes

Contents

# frozen_string_literal: true

# :markup: markdown

require "action_pack"
require "active_support"
require "active_support/rails"
require "active_support/i18n"
require "abstract_controller/deprecator"

module AbstractController
  extend ActiveSupport::Autoload

  autoload :ActionNotFound, "abstract_controller/base"
  autoload :Base
  autoload :Caching
  autoload :Callbacks
  autoload :Collector
  autoload :DoubleRenderError, "abstract_controller/rendering"
  autoload :Helpers
  autoload :Logger
  autoload :Rendering
  autoload :Translation
  autoload :AssetPaths
  autoload :UrlFor

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

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
actionpack-8.0.1 lib/abstract_controller.rb
actionpack-8.0.0.1 lib/abstract_controller.rb
actionpack-7.2.2.1 lib/abstract_controller.rb
actionpack-8.0.0 lib/abstract_controller.rb
actionpack-7.2.2 lib/abstract_controller.rb
actionpack-8.0.0.rc2 lib/abstract_controller.rb
actionpack-7.2.1.2 lib/abstract_controller.rb
actionpack-8.0.0.rc1 lib/abstract_controller.rb
actionpack-7.2.1.1 lib/abstract_controller.rb
actionpack-8.0.0.beta1 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha9 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha8 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha7 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha4 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha3 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha2 lib/abstract_controller.rb
omg-actionpack-8.0.0.alpha1 lib/abstract_controller.rb
actionpack-7.2.1 lib/abstract_controller.rb
actionpack-7.2.0 lib/abstract_controller.rb
actionpack-7.2.0.rc1 lib/abstract_controller.rb