diff options
author | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:17:00 -0700 |
---|---|---|
committer | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:43 -0700 |
commit | f7740f20f2266be00d3e0a8dbb82a9bbb402de70 (patch) | |
tree | 4a7c6dbec9e0e665b0874254553ae35519bb6fd3 /railties/guides/source | |
parent | eedb86367483845fd383c5d74b4e677ef4563f59 (diff) | |
download | rails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.tar.gz rails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.tar.bz2 rails-f7740f20f2266be00d3e0a8dbb82a9bbb402de70.zip |
We're using the method, not writing it
Diffstat (limited to 'railties/guides/source')
-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 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, |