diff options
author | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:13:34 -0700 |
---|---|---|
committer | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:43 -0700 |
commit | a41295fdaa1d2da3c8ca90b5ad7babbcc21aef14 (patch) | |
tree | f62160d5198e86e5148a7e0ff67b15689b5e48a8 /railties | |
parent | bc6d1ebc66dcb15afa491a935ed094aff5948db5 (diff) | |
download | rails-a41295fdaa1d2da3c8ca90b5ad7babbcc21aef14.tar.gz rails-a41295fdaa1d2da3c8ca90b5ad7babbcc21aef14.tar.bz2 rails-a41295fdaa1d2da3c8ca90b5ad7babbcc21aef14.zip |
Correct grammatical errors
Diffstat (limited to 'railties')
-rw-r--r-- | railties/guides/source/migrations.textile | 4 |
1 files changed, 2 insertions, 2 deletions
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, <ruby> @@ -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. |