diff options
Diffstat (limited to 'guides/code/getting_started/db/migrate/20130122045842_create_comments.rb')
-rw-r--r-- | guides/code/getting_started/db/migrate/20130122045842_create_comments.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb b/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb index 3e51f9c0f7..1f765839ac 100644 --- a/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb +++ b/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb @@ -3,7 +3,7 @@ class CreateComments < ActiveRecord::Migration create_table :comments do |t| t.string :commenter t.text :body - t.references :post, index: true + t.references :article, index: true t.timestamps end |