2 ms·
/app/interactors It's a trivial thing to add new folders like this to autoloading: # add to application.rb config.autoload_paths += %W(#{config.root}/app/
by Legion 13y ago
/app/interactors
It's a trivial thing to add new folders like this to autoloading:
# add to application.rb
config.autoload_paths += %W(#{config.root}/app/interactors)
- nthj 13y agoAs of Rails 3.0, I believe app/anything/ is autoloaded: * https://github.com/rails/rails/blob/3-0-stable/railties/test/application/initializers/load_path_test.rb#L43 https://github.com/rails/rails/blob/3-0-stable/railties/test... * http://hakunin.com/rails3-load-paths http://hakunin.com/rails3-load-paths