aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/defaults_test.rb
diff options
context:
space:
mode:
authorPeter Marsh <pete.d.marsh@gmail.com>2014-09-22 20:13:21 +0100
committerPeter Marsh <pete.d.marsh@gmail.com>2014-09-22 20:27:03 +0100
commit949deedf08ae6c08b0c45a73693e0fbda291e09f (patch)
tree44b84838d0582442db18962afe8d031f047fdb5e /activerecord/test/cases/defaults_test.rb
parentf4595e624babf939788ec07aa9497b1650c54c6c (diff)
downloadrails-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/cases/defaults_test.rb')
0 files changed, 0 insertions, 0 deletions