diff options
author | Chao Ren <renchaorevee@gmail.com> | 2013-03-23 20:57:14 -0700 |
---|---|---|
committer | Chao Ren <renchaorevee@gmail.com> | 2013-03-23 20:57:14 -0700 |
commit | a2bb6720fd5091d95aa8539ddf63386dcfb8feee (patch) | |
tree | 8444fc59138d86f0583b12c3b27064054ee03590 | |
parent | 33d1e374082a482237f52569b489403abdb2770a (diff) | |
download | rails-a2bb6720fd5091d95aa8539ddf63386dcfb8feee.tar.gz rails-a2bb6720fd5091d95aa8539ddf63386dcfb8feee.tar.bz2 rails-a2bb6720fd5091d95aa8539ddf63386dcfb8feee.zip |
Typo: Migration class name would use plural
-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 65c8154064..18d9f5c562 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -572,7 +572,7 @@ end These need to be backed up by a migration to create the `assemblies_parts` table. This table should be created without a primary key: ```ruby -class CreateAssemblyPartJoinTable < ActiveRecord::Migration +class CreateAssembliesPartsJoinTable < ActiveRecord::Migration def change create_table :assemblies_parts, id: false do |t| t.integer :assembly_id |