Skip to content

Commit 26d24d6

Browse files
committed
Let these example match the ones in config/application.rb
1 parent 8eed508 commit 26d24d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/autoloading_and_reloading_constants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Why? While `assets` and `tasks` share the `lib` directory with regular Ruby code
119119
The `ignore` list should have all `lib` subdirectories that do not contain files with `.rb` extension, or that should not be reloadaded or eager loaded. For example,
120120

121121
```ruby
122-
config.autoload_lib(ignore: %w(assets tasks generators templates middlewares))
122+
config.autoload_lib(ignore: %w(assets tasks templates generators middleware))
123123
```
124124

125125
`config.autoload_lib` is not available before 7.1, but you can still emulate it as long as the application uses Zeitwerk:

0 commit comments

Comments
 (0)