You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3375,6 +3375,22 @@ if Rails.env.development?
3375
3375
end
3376
3376
```
3377
3377
3378
+
For Rails >= 5.1.4, change this:
3379
+
3380
+
```ruby
3381
+
ActionDispatch::Callbacks.to_prepare do
3382
+
api_reloader.execute_if_updated
3383
+
end
3384
+
```
3385
+
3386
+
to this:
3387
+
3388
+
```ruby
3389
+
ActiveSupport::Reloader.to_prepare do
3390
+
api_reloader.execute_if_updated
3391
+
end
3392
+
```
3393
+
3378
3394
See [StackOverflow #3282655](http://stackoverflow.com/questions/3282655/ruby-on-rails-3-reload-lib-directory-for-each-request/4368838#4368838) for more information.
0 commit comments