diff options
author | Peter Marsh <pete.d.marsh@gmail.com> | 2014-09-22 20:13:21 +0100 |
---|---|---|
committer | Peter Marsh <pete.d.marsh@gmail.com> | 2014-09-22 20:27:03 +0100 |
commit | 949deedf08ae6c08b0c45a73693e0fbda291e09f (patch) | |
tree | 44b84838d0582442db18962afe8d031f047fdb5e /activerecord/test/fixtures/toys.yml | |
parent | f4595e624babf939788ec07aa9497b1650c54c6c (diff) | |
download | rails-949deedf08ae6c08b0c45a73693e0fbda291e09f.tar.gz rails-949deedf08ae6c08b0c45a73693e0fbda291e09f.tar.bz2 rails-949deedf08ae6c08b0c45a73693e0fbda291e09f.zip |
Clarify the documentation of the primary_key option for associations
Previously the documentation stated that `primary_key` should be the name of
a *method* that returns the primary key used for the association. This is
incorrect. This changes the documentation to say that the value must be the
name of a column.
Diffstat (limited to 'activerecord/test/fixtures/toys.yml')
0 files changed, 0 insertions, 0 deletions