aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-25 18:45:41 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-25 18:45:41 +0530
commit2332aa6e188a14afb16c13a879d272b2c3ff03b8 (patch)
tree70b20f52511effec668b65a7cfaee25433c820fd
parent837a74bc0f232c225b146c23fa706264e8473371 (diff)
downloadrails-2332aa6e188a14afb16c13a879d272b2c3ff03b8.tar.gz
rails-2332aa6e188a14afb16c13a879d272b2c3ff03b8.tar.bz2
rails-2332aa6e188a14afb16c13a879d272b2c3ff03b8.zip
Revert "add missing methods supported by reversible migrations using the change method"
This reverts commit 7f91eebae361f2f3a1558f6d899b372524509a2d. Reason: Incorrect documenting. The newly added methods to the list are not actually supported by reversible migrations.
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb5
-rw-r--r--railties/guides/source/migrations.textile5
2 files changed, 2 insertions, 8 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index 5a572c76ae..f01e94169f 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -6,11 +6,8 @@ module ActiveRecord
#
# * add_column
# * add_index
- # * add_timestamps
- # * change_column
- # * change_column_default
+ # * add_timestamp
# * create_table
- # * remove_column
# * remove_timestamps
# * rename_column
# * rename_index
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile
index 501508f5ab..f17f686d47 100644
--- a/railties/guides/source/migrations.textile
+++ b/railties/guides/source/migrations.textile
@@ -344,11 +344,8 @@ The +change+ method removes the need to write both +up+ and +down+ methods in th
* +add_column+
* +add_index+
-* +add_timestamps+
-* +change_column+
-* +change_column_default+
+* +add_timestamp+
* +create_table+
-* +remove_column+
* +remove_timestamps+
* +rename_column+
* +rename_index+