1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

We're using the method, not writing it

This commit is contained in:
Jason Noble 2011-12-03 19:17:00 -07:00
parent eedb863674
commit f7740f20f2

View file

@ -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,