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