aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/migrations.textile
diff options
context:
space:
mode:
authorJaime Iniesta <jaimeiniesta@gmail.com>2010-08-26 10:16:08 +0200
committerXavier Noria <fxn@hashref.com>2010-08-26 14:23:58 +0200
commite72406e2ba3cd3a5d72fea6219f152640e2e7479 (patch)
tree1ff41d8b9c9060cc7f168b38bc07b220ca2e715f /railties/guides/source/migrations.textile
parent5430f5bd06ba71a11479bc83eda38e0d7302ecea (diff)
downloadrails-e72406e2ba3cd3a5d72fea6219f152640e2e7479.tar.gz
rails-e72406e2ba3cd3a5d72fea6219f152640e2e7479.tar.bz2
rails-e72406e2ba3cd3a5d72fea6219f152640e2e7479.zip
change 'a SQL' to 'an SQL' as suggested by the api documentation guidelines
Diffstat (limited to 'railties/guides/source/migrations.textile')
-rw-r--r--railties/guides/source/migrations.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index 16f616a5bc..89aa007279 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -250,7 +250,7 @@ create_table :products do |t|
end
</ruby>
-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 +:id => false+. If you need to pass database specific options you can place a SQL fragment in the +:options+ option. For example
+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 +:id => false+. If you need to pass database specific options you can place an SQL fragment in the +:options+ option. For example
<ruby>
create_table :products, :options => "ENGINE=BLACKHOLE" do |t|