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

Options for belongs_to does not contain primary_key in documentation #16694

Closed
gorn opened this issue Aug 25, 2014 · 3 comments
Closed

Options for belongs_to does not contain primary_key in documentation #16694

gorn opened this issue Aug 25, 2014 · 3 comments

Comments

@gorn
Copy link

gorn commented Aug 25, 2014

Chapter 4.1.2 of Active Record Associations documetation does not mention :primary_key option which however works as expected - giving the name of index column in the other table.

@rails-bot
Copy link

This issue has been automatically marked as stale because it has not been commented on for at least
three months.

The resources of the Rails team are limited, and so we are asking for your help.

If you can still reproduce this error on the 4-1-stable, 4-0-stable branches or on master,
please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions.

@gorn
Copy link
Author

gorn commented Jan 5, 2015

Still an issue in master. However girishso commit b5b773f fixes this, so it just needs to be pulled in.

@zzak
Copy link
Member

zzak commented Apr 12, 2015

This was fixed by #16698, thanks for the report!

@zzak zzak closed this as completed Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants