Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more ruby 2.0 respond_to? changes

  • Loading branch information...
commit c73f8833d59c587be3029be9ba624689a61cc14c 1 parent 0052d90
Aaron Patterson tenderlove authored
2  activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
View
@@ -427,7 +427,7 @@ def bulk_change_table(table_name, operations) #:nodoc:
table, arguments = args.shift, args
method = :"#{command}_sql"
- if respond_to?(method)
+ if respond_to?(method, true)
send(method, table, *arguments)
else
raise "Unknown method called : #{method}(#{arguments.inspect})"
Please sign in to comment.
Something went wrong with that request. Please try again.