Sha256: de8cb5ceab0644a156cf95d51e2339900566eba0ceb961b4c24f9cb2c8525c60

Contents?: true

Size: 437 Bytes

Versions: 6

Compression:

Stored size: 437 Bytes

Contents

Rails.application.configure do
    config.after_initialize do
        # In development be sure to load all the namespaces
        # in order to have working reflection and meta-programming.
        if Rails.env.development?
            Rails.configuration.eager_load_namespaces.each(&:eager_load!) if Rails.version.to_i == 5 #Rails 5
            Zeitwerk::Loader.eager_load_all if Rails.version.to_i >= 6 #Rails 6
        end
    end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
thecore_backend_commons-2.2.3 config/initializers/after_initialize_thecore_backend_commons.rb
thecore_backend_commons-2.2.2 config/initializers/after_initialize_thecore_backend_commons.rb
thecore_backend_commons-2.1.0 config/after_initialize_thecore_backend_commons.rb
thecore_auth_commons-2.1.8 config/initializers/after_initialize_thecore_auth_commons.rb
thecore_auth_commons-2.1.7 config/initializers/after_initialize_thecore_auth_commons.rb
thecore_auth_commons-2.1.5 config/initializers/after_initialize_thecore_auth_commons.rb