diff options
author | Jon Atack <jon@atack.com> | 2015-04-11 15:38:07 +0530 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2015-04-11 15:38:07 +0530 |
commit | 478a755387e0782dfadd433c3638d5d42c724c9a (patch) | |
tree | 697f8b4a9a453ef31a00550f363f74c53eb09f0b /guides | |
parent | 409460e440783b315077cca1b1e435107aa270a0 (diff) | |
download | rails-478a755387e0782dfadd433c3638d5d42c724c9a.tar.gz rails-478a755387e0782dfadd433c3638d5d42c724c9a.tar.bz2 rails-478a755387e0782dfadd433c3638d5d42c724c9a.zip |
[skip ci] primay_key -> primary_key
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/association_basics.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index d8dcf75740..d215d8b30f 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -923,7 +923,7 @@ For example, given we have a `users` table with `guid` as the primary key. If we ```ruby class User < ActiveRecord::Base - self.primay_key = 'guid' # primary key is guid and not id + self.primary_key = 'guid' # primary key is guid and not id end class Todo < ActiveRecord::Base |