Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

comment the recorder methods

  • Loading branch information...
commit fa1aad741d53be04e3e721a948ec7e438335b805 1 parent 59016b9
@vijaydev vijaydev authored fxn committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/lib/active_record/migration/command_recorder.rb
View
6 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
Please sign in to comment.
Something went wrong with that request. Please try again.