-
Notifications
You must be signed in to change notification settings - Fork 92
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
Originator relationship not working #36
Comments
Its the condition that is preventing the belongs to. I removed the condition locally and I no longer have an issue, but its odd because if I run the condition it looks as if it should render true. So I don't know why the condition is failing to set the belongs_to correctly. |
Ok, I think I may have found the issue, the deps compiled before I added config but then they didnt recompile. Since you will need to recompile the deps after you update the config/config it maybe worth noting in the READ ME. |
I'm glad that you've found this issue and included in your pull request. I will review and merge it to README. |
I can see that I'm storing the originator_id and I have the config set to use "user" correct as I can use the name user for the origininator
IE
|> PaperTrail.insert(user: user)
and again I can see the id being set correctly in the db.But when I try to preload or call upon the originator thats where I hit a problem.
Not sure what I'm missing here.
Spec:
The text was updated successfully, but these errors were encountered: