Skip to content

Commit

Permalink
Exclude generators directory for autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaylorgds authored and Tetrino committed Dec 3, 2024
1 parent 8b77b77 commit c0392a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ class Application < Rails::Application
# Please, add to the `ignore` list any other `lib` subdirectories that do
# not contain `.rb` files, or that should not be reloaded or eager loaded.
# Common ones are `templates`, `generators`, or `middleware`, for example.
config.autoload_lib(ignore: %w[assets data tasks])
config.autoload_lib(ignore: %w[assets data generators tasks])
end
end

0 comments on commit c0392a0

Please sign in to comment.