From 95213ac47721efb0d4ceec4fb919c8208389db6e Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:31:04 -0700 Subject: Be explicit about where to add/remove stuff to the migration --- railties/guides/source/migrations.textile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'railties/guides') 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 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 -- cgit v1.2.3