From 2332aa6e188a14afb16c13a879d272b2c3ff03b8 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 25 Jun 2011 18:45:41 +0530 Subject: [PATCH] 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. --- activerecord/lib/active_record/migration/command_recorder.rb | 5 +---- railties/guides/source/migrations.textile | 5 +---- 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+