spring
spring copied to clipboard
Recommend setting `enable_reloading` on newer Rails versions
README recommends to set newer enable_reloading config
https://github.com/rails/spring/blob/b6dc87e62d6c2192a2ba46782804e2790ec8e5f7/README.md?plain=1#L74
while the raised message still asks to tweak old cache_classes config which may eventually be removed.
Let's update the error to ask applications to configure enable_reloading where available.
Does checking for respond_to? seems reasonable? Any reason to check Rails version instead?