-
Notifications
You must be signed in to change notification settings - Fork 901
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
Issues with custom versions table names in 4.0.0.beta.2 #488
Comments
This issue pretty much breaks my test suite since it reloads code (like pretty much all rails test suites). It runs fine for a while then everything starts failing due to the same type of exception as above. |
See #483, I think that person may have more insight |
Interesting. I'm not using the |
Using 3.0.6 we did not explicitly use |
Actually, what the docs are trying to say is that the |
I have the same issue. |
Occasionally In normal development environment, and regularly using
spring
it seems that PaperTrail 4.0.0.beta.2 looses track of the proper table name for version models. I have many version models in my rather large application. Each with its own table and custom class.PaperTraill::Version
has been modified withself.abstract_class = true
and is only used as such. Since upgrading to 4.0.0.beta.2 if I reload the application from the console withreload!
things go haywire. The fact thatreload!
can consistently reproduce the issue points some to why spring just wont work at all. This seems to be some type of preload/autoload issue. I'm pretty sure this would not manifest in production environments where code is not reloaded, but I could be wrong. Here is an example of the problem in action:The text was updated successfully, but these errors were encountered: