-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Argument error could be more informative #23
Labels
Comments
Thinking we could raise our own error if
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently managed to create a join table for image attachments on news items in which I failed to define a primary key like the below:
primary_key [:news_item_id, :asset_id]
The first sign of my mistake was rom-factory raising the following error when calling the relation's factory:
I was able to find my mistake with help from @timriley, but I wonder if we could add mention to that error to check one's primary key as a pointer to others?
The top of the stacktrace was:
The text was updated successfully, but these errors were encountered: