ruby-hyperloop / hyperloop-config

The project has moved to Hyperstack!! - internal gem used by other hyperloop gems to define config settings
https://hyperstack.org/
MIT License
3 stars 4 forks source link

add policies directory to auto-load #9

Closed catmando closed 6 years ago

catmando commented 6 years ago

add config.autoload_paths += %W(#{config.root}/app/policies) to rail_tie.rb

For workaround you will have to add this line to application.rb

janbiedermann commented 6 years ago

rails automatically adds all directories directly under app to autoload_paths in development and eager_load_paths in production, this probably is an issue specific to the app of the original reporter