aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/migrations.md
diff options
context:
space:
mode:
authorKatie Oldaker <k.oldaker@modcloth.com>2012-12-07 16:31:27 -0500
committerKatie Oldaker <k.oldaker@modcloth.com>2012-12-07 16:32:06 -0500
commitfc6336d1bed794681b09cc10c80182cd457fb414 (patch)
treeae2965e7b427dbf67417a9a8a21cba7eda5982fc /guides/source/migrations.md
parent38db4e2ca9902a57ae45422cba9cccbfc3e912b6 (diff)
downloadrails-fc6336d1bed794681b09cc10c80182cd457fb414.tar.gz
rails-fc6336d1bed794681b09cc10c80182cd457fb414.tar.bz2
rails-fc6336d1bed794681b09cc10c80182cd457fb414.zip
Punctuation, capitalization, grammar fixes in rails guides
Diffstat (limited to 'guides/source/migrations.md')
-rw-r--r--guides/source/migrations.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index 829cbf2873..9840e7694f 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -334,7 +334,7 @@ end
removes the `description` and `name` columns, creates a `part_number` string
column and adds an index on it. Finally it renames the `upccode` column.
-### When Helpers Aren't Enough
+### When Helpers aren't Enough
If the helpers provided by Active Record aren't enough you can use the `execute`
method to execute arbitrary SQL:
@@ -585,8 +585,8 @@ Occasionally you will make a mistake when writing a migration. If you have
already run the migration then you cannot just edit the migration and run the
migration again: Rails thinks it has already run the migration and so will do
nothing when you run `rake db:migrate`. You must rollback the migration (for
-example with `rake db:rollback`), edit your migration and then run `rake
-db:migrate` to run the corrected version.
+example with `rake db:rollback`), edit your migration and then run
+`rake db:migrate` to run the corrected version.
In general, editing existing migrations is not a good idea. You will be
creating extra work for yourself and your co-workers and cause major headaches