Skip to content

Commit

Permalink
Enable config.autoload_lib in app.rb (#3790)
Browse files Browse the repository at this point in the history
Part of the Rails 7/7.1 upgrade process.
  • Loading branch information
veganstraightedge authored Feb 27, 2024
1 parent c10e71a commit 73e97f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ 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.
# TODO: do this at its own PR after releasing Rails 7.1 upgrade
# TODO: confirm that all Heroku tasks still run after adding this line
# config.autoload_lib ignore: %w[assets generators tasks]
config.autoload_lib ignore: %w[assets generators tasks]

# By default `form_with` generates remote forms. We don't really
# use this right now, so it is easier to have it default to `false`.
Expand Down

0 comments on commit 73e97f3

Please sign in to comment.