From f41d099720dd2031341ea355116a7d4e73bee11a Mon Sep 17 00:00:00 2001 From: Jason Noble Date: Sat, 3 Dec 2011 19:18:45 -0700 Subject: We're using methods, not writing them --- railties/guides/source/migrations.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 18920f1d2e..7186e9998c 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -482,7 +482,7 @@ the +change+ method supports only these migration definitions: If you're going to need to use any other methods, you'll have to write the +up+ and +down+ methods instead of using the change method. -h4. Writing Your +down+ Method +h4. Using the +up+/+down+ Methods The +down+ method of your migration should revert the transformations done by the +up+ method. In other words, the database schema should be unchanged if you -- cgit v1.2.3