-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Rails 4.x reloading instructions #658
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I ran into "Circular dependency detected while autoloading constant" errors when using the Rails 3.x reload code. I found removing the `explicitly_unloadable_constants` line made it work fine.
These instructions are basically identical to Rails 3 minus |
Yeah, they are :p Adding the constants to On Thursday, 5 June 2014 at 1:53 am, Daniel Doubrovkine (dB.) @dblockdotorg wrote:
|
Maybe just rewrite instructions that say "Rails" and explicitly call out to add the one line for Rails3? |
Bump. |
Maybe you can use ActionDispatch::Reloader.to_prepare do
api_reloader.execute_if_updated
end insteed of |
@dspaeth-faber If you want to rewrite the rails reloading instructions that'd be great. I'd appreciate a working PR into https://github.com/dblock/grape-on-rails to demonstrate this, too. |
@dblock is this one closed ? |
I still want instructions for Rails 4 reloading. Just not exactly what's here. |
I made a change based on all of this in #849, if something is not right there, please open a new issue! |
I ran into "Circular dependency detected while autoloading constant" errors when using the Rails 3.x reload code. I found removing the
explicitly_unloadable_constants
line made it work fine.