aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration/command_recorder.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-06-07 01:38:03 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-06-07 01:38:03 +0530
commit5d8df14d6dd3f657af28e72e30f9a97ca9607f82 (patch)
treecbc8b0f04289e81c0406e871e753819c144161df /activerecord/lib/active_record/migration/command_recorder.rb
parent428883b579123f14cb3161f566c140e684815aeb (diff)
downloadrails-5d8df14d6dd3f657af28e72e30f9a97ca9607f82.tar.gz
rails-5d8df14d6dd3f657af28e72e30f9a97ca9607f82.tar.bz2
rails-5d8df14d6dd3f657af28e72e30f9a97ca9607f82.zip
comment the recorder methods
Diffstat (limited to 'activerecord/lib/active_record/migration/command_recorder.rb')
-rw-r--r--activerecord/lib/active_record/migration/command_recorder.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/migration/command_recorder.rb b/activerecord/lib/active_record/migration/command_recorder.rb
index ed8aea69b9..cf4a97d054 100644
--- a/activerecord/lib/active_record/migration/command_recorder.rb
+++ b/activerecord/lib/active_record/migration/command_recorder.rb
@@ -50,9 +50,9 @@ module ActiveRecord
[:create_table, :rename_table, :add_column, :remove_column, :rename_index, :rename_column, :add_index, :remove_index, :add_timestamps, :remove_timestamps, :change_column, :change_column_default].each do |method|
class_eval <<-EOV, __FILE__, __LINE__ + 1
- def #{method}(*args)
- record(:"#{method}", args)
- end
+ def #{method}(*args) # def create_table(*args)
+ record(:"#{method}", args) # record(:create_table, args)
+ end # end
EOV
end