-
Notifications
You must be signed in to change notification settings - Fork 121
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
The primary key of my model is not 'id' #29
Comments
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My "Vehicle" model's primary key is 'vin' and not 'id'.
When I use the unread gem it doesn't work when I call vehicle.mark_as_read! for: current_user
It works when my primary_key is 'id'.
The text was updated successfully, but these errors were encountered: