diff options
-rw-r--r-- | railties/guides/source/migrations.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index cfd89721ad..2c98009841 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -417,7 +417,6 @@ end will create a new products table with those two columns (plus the +id+ column) whereas -The other helper is called +references+ (also available as +belongs_to+). In its <ruby> change_table :products do |t| t.timestamps @@ -425,6 +424,7 @@ end </ruby> adds those columns to an existing table. +Another helper is called +references+ (also available as +belongs_to+). In its simplest form it just adds some readability <ruby> |