Skip to content

Remove unneeded app/finders config.autoload path

Created by: cirosantilli

Every directory directly under app/ is already searched by default because it is under eager_load_path as mentioned at: http://edgeguides.rubyonrails.org/configuring.html

config.eager_load_paths accepts an array of paths from which Rails will eager load on boot if cache classes is enabled. Defaults to every folder in the app directory of the application.

and empirically verified.

This is for example why services can be used from controllers magically.

Merge request reports