-
Notifications
You must be signed in to change notification settings - Fork 178
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
No route matches [GET] after changing code (helper, model) #464
Comments
I've generally seen two main cases where this particular error happens
In this situation, you may find restarting your rails server throws the same error, but it should pinpoint it more closely.
You mention using the new hotwire branch -- I'd be curious to know if the previous release didn't show these errors, as that would be surprising to me. |
Thanks for the comment! Unfortunately none of those tips helped. ;/
No, errors could happen in almost empty resource file, like in the example above. In the logs, after I change something in the helper/model, I see bilder.rb warnings, so I guess those errors are related with code reloading mechanism. I will dig some more, thanks! |
Would you possibly be able to upload a minimal example application to GitHub that shows the issue? I'd love to get to the bottom of what is happening here but I haven't been able to reproduce it so far. |
Hello!
Using newest hotwire branch - I have some problems with code reloading.
Gemfile:
Imagine that I use this kind of code in my Trestle resource:
#all_attachments method inside the model:
If I change anything inside all_attachments method, then I get this error:
No route matches [GET] "/ta/file_uploads/1"
This happens for all the code, not only for all_attachments method.
No matter where I put the code: model, helper, decorator - if I change anything, then I got an error.
I guess that I have some missing configuration on my side that reloads application code.
What I do to fix that?
Thanks for any help!
The text was updated successfully, but these errors were encountered: