From a41295fdaa1d2da3c8ca90b5ad7babbcc21aef14 Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:13:34 -0700 Subject: Correct grammatical errors --- railties/guides/source/migrations.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'railties') diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 74d1b2cd8b..3595ed90f4 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -372,7 +372,7 @@ By default, +create_table+ will create a primary key called +id+. You can change the name of the primary key with the +:primary_key+ option (don't forget to update the corresponding model) or, if you don't want a primary key at all (for example for a HABTM join table), you can pass the option +:id => false+. If you -need to pass database specific options you can place an SQL fragment in the +need to pass database specific options you can place a SQL fragment in the +:options+ option. For example, @@ -797,7 +797,7 @@ h3. Schema Dumping and You h4. What are Schema Files for? Migrations, mighty as they may be, are not the authoritative source for your -database schema. That role falls to either +db/schema.rb+ or an SQL file which +database schema. That role falls to either +db/schema.rb+ or a SQL file which Active Record generates by examining the database. They are not designed to be edited, they just represent the current state of the database. -- cgit v1.2.3