From 478a755387e0782dfadd433c3638d5d42c724c9a Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Sat, 11 Apr 2015 15:38:07 +0530 Subject: [skip ci] primay_key -> primary_key --- guides/source/association_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source/association_basics.md') 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 -- cgit v1.2.3