Skip to content
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

Get foreign key from reflections when possible #383

Merged
merged 2 commits into from
Sep 13, 2020
Merged

Get foreign key from reflections when possible #383

merged 2 commits into from
Sep 13, 2020

Conversation

jefftsang
Copy link
Contributor

This is useful for associations with user-defined foreign keys that do not follow the convention of a lowercased class name followed by an "_id" suffix.

@brendon brendon merged commit d186def into brendon:master Sep 13, 2020
@brendon
Copy link
Owner

brendon commented Sep 13, 2020

Looks good to me! :) Thanks for the hard work :)

@jefftsang
Copy link
Contributor Author

No problem! Thanks for maintaining this gem.

@jefftsang jefftsang deleted the get-foreign-key-from-reflections branch September 13, 2020 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants