Method: Rails::Engine::Configuration#autoload_once_paths
- Defined in:
- railties/lib/rails/engine/configuration.rb
#autoload_once_paths ⇒ Object
An array of custom autoload once paths. These won’t be eager loaded unless you push them to eager_load_paths too, which is recommended.
This collection is empty by default, it accepts strings and Pathname objects.
If you’d like to add lib to it, please see autoload_lib_once.
29 30 31 |
# File 'railties/lib/rails/engine/configuration.rb', line 29 def autoload_once_paths @autoload_once_paths end |