-
Notifications
You must be signed in to change notification settings - Fork 130
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
NameError: wrong constant name #192
Comments
What's the stack here? Check that the model is actually loaded (just stick a |
@dblock I encountered the same problem. It seems that, by default, the model HistoryTracker wasn't loaded. I had to add the |
Interesting, this probably is a bug, would appreciate a PR to fix it. Maybe we can even have a spec for this? |
Definitely the tracking history problem I encountered this problem and after disabling the tracking temporarily, the error was gone. @h8rry is right!!! |
This problem occurence because only include the module mongoid-history/lib/mongoid/history/trackable.rb Lines 67 to 68 in 8ed7ba1
some possible solutions are:
|
I ll describe everything I've done just so I m not missing anything obvious, here is what I've done so far :
save!
on my model I set the modifier:What am I doing wrong here?
The text was updated successfully, but these errors were encountered: