Permalink
Browse files

Be explicit about where to add/remove stuff to the migration

  • Loading branch information...
1 parent b6d7ce9 commit 95213ac47721efb0d4ceec4fb919c8208389db6e @jasonnoble jasonnoble committed Dec 4, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 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

0 comments on commit 95213ac

Please sign in to comment.