aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/migrations.textile
diff options
context:
space:
mode:
authorJason Noble <perlwizard@gmail.com>2011-12-03 19:31:04 -0700
committerJason Noble <perlwizard@gmail.com>2011-12-03 19:31:45 -0700
commit95213ac47721efb0d4ceec4fb919c8208389db6e (patch)
treeefa0e79f81b099b08c9cd5ed8a19459b63d67470 /railties/guides/source/migrations.textile
parentb6d7ce9f2376138f17e41f293add29aab334a358 (diff)
downloadrails-95213ac47721efb0d4ceec4fb919c8208389db6e.tar.gz
rails-95213ac47721efb0d4ceec4fb919c8208389db6e.tar.bz2
rails-95213ac47721efb0d4ceec4fb919c8208389db6e.zip
Be explicit about where to add/remove stuff to the migration
Diffstat (limited to 'railties/guides/source/migrations.textile')
-rw-r--r--railties/guides/source/migrations.textile3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index 7dd9e718f8..f458f1bff9 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -325,7 +325,8 @@ end
</ruby>
As always, what has been generated for you is just a starting point. You can add
-or remove from it as you see fit.
+or remove from it as you see fit by editing the
+db/migrate/YYMMDDHHMMSS_add_details_to_products.rb file.
NOTE: The generated migration file for destructive migrations will still be
old-style using the +up+ and +down+ methods. This is because Rails needs to know