Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more ruby 2.0 respond_to? changes

  • Loading branch information...
commit 19c7124c4f0b78572509b3b54d20ddcfddeb0baa 1 parent 5d0c181
@tenderlove tenderlove authored
View
2  activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -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.