Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update mysql for new exec_insert signature

  • Loading branch information...
commit 3475051f7ff8d29eb779618c8f06e725b3889698 1 parent f09bb33
Doug Cole dougcole authored
2  activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
View
@@ -226,7 +226,7 @@ def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
end
alias :create :insert_sql
- def exec_insert(sql, name, binds)
+ def exec_insert(sql, name, binds, pk = nil, sequence_name = nil)
execute to_sql(sql, binds), name
end
Please sign in to comment.
Something went wrong with that request. Please try again.