aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-26 17:26:27 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-26 17:26:27 -0300
commit772c57182dcd6fb1d223369f1531ef48813cdac0 (patch)
tree7727e64c94b8669596d3f0e464ad33322fc31866 /guides/code/getting_started/db/migrate/20130122045842_create_comments.rb
parent49f03a77ed3ed286daeb440603ac799037b66c33 (diff)
parent45072f34d27bda34b182f14f8b02d778d1648cce (diff)
downloadrails-772c57182dcd6fb1d223369f1531ef48813cdac0.tar.gz
rails-772c57182dcd6fb1d223369f1531ef48813cdac0.tar.bz2
rails-772c57182dcd6fb1d223369f1531ef48813cdac0.zip
Merge pull request #15323 from JohnKellyFerguson/getting-started-app
Docs: Rename Posts to Articles in Guides' Getting Started App
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.rb2
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