method
method_missing
method_missing(method, *arguments, &block)
public
Hide source
# File activerecord/lib/active_record/migration.rb, line 339 def method_missing(method, *arguments, &block) arg_list = arguments.map(&:inspect) * ', ' say_with_time "#{method}(#{arg_list})" do unless arguments.empty? || method == :execute arguments[0] = Migrator.proper_table_name(arguments.first) end ActiveRecord::Base.connection.send(method, *arguments, &block) end end