From 803ecc7334b89a12cf169c814973d2ec58b0b668 Mon Sep 17 00:00:00 2001 From: Ofer Nave Date: Tue, 24 Sep 2013 20:34:50 -0400 Subject: added "id: false" to HABTM join table example Based on the instructions further down in section 3.3.2. --- guides/source/association_basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index 8ef982f8c5..91b268d766 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -340,7 +340,7 @@ class CreateAssembliesAndParts < ActiveRecord::Migration t.timestamps end - create_table :assemblies_parts do |t| + create_table :assemblies_parts, id: false do |t| t.belongs_to :assembly t.belongs_to :part end -- cgit v1.2.3