aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJason Noble <perlwizard@gmail.com>2011-12-03 19:17:00 -0700
committerJason Noble <perlwizard@gmail.com>2011-12-03 19:31:43 -0700
commitf7740f20f2266be00d3e0a8dbb82a9bbb402de70 (patch)
tree4a7c6dbec9e0e665b0874254553ae35519bb6fd3 /railties
parenteedb86367483845fd383c5d74b4e677ef4563f59 (diff)
downloadrails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.tar.gz
rails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.tar.bz2
rails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.zip
We're using the method, not writing it
Diffstat (limited to 'railties')
-rw-r--r--railties/guides/source/migrations.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index 2c98009841..a159a72659 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -464,7 +464,7 @@ and
"<tt>ActiveRecord::ConnectionAdapters::Table</tt>":http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/Table.html
(which provides the methods available on the object yielded by +change_table+).
-h4. Writing Your +change+ Method
+h4. Using the +change+ Method
The +change+ method removes the need to write both +up+ and +down+ methods in
those cases that Rails know how to revert the changes automatically. Currently,