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:
parent
eedb863674
commit
f7740f20f2
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue