-
Notifications
You must be signed in to change notification settings - Fork 895
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
Have to restart localhost server for each change #526
Comments
What does your initializer / custom version classes look like? |
I have a few models which have versioning, each including a
There is nothing to do with versioning in the actual model class files other than |
I was asking in the hope that it was an issue that had been seen before with a known fix. If that isn't the case I'll see if I can isolate it in a clean project and post that back if I can. |
Yes, other people have reported issues similar to this. #488, #483... I'm not certain exactly what causes it but I believe it may have to do with the fact that we load the base |
I am using: I tried creating a new project, with all the same versions, the same custom classes and the same Versionable concern and it did not have the same issue. If I do manage to isolate it though I'll post back. |
This fix works for me: |
Thanks for the bug report! Closing; the discussion will continue at #492 |
I have a minor issue where I have to restart my WEBrick or Thin server any time I make any changes to a controller of a versioned model. Any change at all triggers this, no matter how insignificant. The error I get is
Could not find table 'versions'
Once I restart the server all is fine. It's only a minor thing, but can becomes a bit of a pain when I am working on one of the controllers.
I have multiple versioned models, each with its own custom named versions table. Everything else is working just fine and as expected. If any other information would be useful let me know.
Thanks
The text was updated successfully, but these errors were encountered: