Permalink
Browse files

comment the recorder methods

  • Loading branch information...
1 parent 59016b9 commit fa1aad741d53be04e3e721a948ec7e438335b805 @vijaydev vijaydev committed with fxn Jun 6, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/migration/command_recorder.rb
@@ -50,9 +50,9 @@ def respond_to?(*args) # :nodoc:
[: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

0 comments on commit fa1aad7

Please sign in to comment.