diff options
author | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-08-26 10:16:08 +0200 |
---|---|---|
committer | Jaime Iniesta <jaimeiniesta@gmail.com> | 2010-08-26 10:16:08 +0200 |
commit | 0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6 (patch) | |
tree | 09178de26dce52d99a36dd0a7a2e2b55f15e1089 /railties/guides/source/migrations.textile | |
parent | fa1ba5bd5bbcdfc82104a2b88fb25d2f3695a525 (diff) | |
download | rails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.tar.gz rails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.tar.bz2 rails-0f9eedf6de72f4afacde6d7075c588a7a6fd3ad6.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.textile | 2 |
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| |