diff options
author | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:18:45 -0700 |
---|---|---|
committer | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:44 -0700 |
commit | f41d099720dd2031341ea355116a7d4e73bee11a (patch) | |
tree | f6e765c3ce9e56ba5b143a77db5309aa301848ee | |
parent | aca34b8e514a375bbcb9899fa598d0d97c662990 (diff) | |
download | rails-f41d099720dd2031341ea355116a7d4e73bee11a.tar.gz rails-f41d099720dd2031341ea355116a7d4e73bee11a.tar.bz2 rails-f41d099720dd2031341ea355116a7d4e73bee11a.zip |
We're using methods, not writing them
-rw-r--r-- | railties/guides/source/migrations.textile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |