Skip to content

Commit 44d0859

Browse files
committed
Minor edits in the upgrading guide
1 parent e35e780 commit 44d0859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/upgrading_ruby_on_rails.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,15 +138,15 @@ config.eager_load_paths << config.root.join("lib")
138138
```
139139

140140
That still works, but it is recommended to replace those lines with the more
141-
concise and correct
141+
concise
142142

143143
```ruby
144144
config.autoload_lib(ignore: %w(assets tasks))
145145
```
146146

147147
Please, add to the `ignore` list any other `lib` subdirectories that do not
148148
contain `.rb` files, or that should not be reloaded or eager loaded. For
149-
example, if your applications has `lib/templates`, `lib/generators`, or
149+
example, if your application has `lib/templates`, `lib/generators`, or
150150
`lib/middleware`, you'd add their name relative to `lib`:
151151

152152
```ruby

0 commit comments

Comments
 (0)