Skip to content

Commit 2dc497b

Browse files
kamipowpolicarpo
authored andcommitted
Remove id_value argument which is no longer passed to sql_for_insert
Follow up to rails/rails@5f9e0f8.
1 parent 6ead58b commit 2dc497b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_record/connection_adapters/sqlserver/database_statements.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def newsequentialid_function
223223

224224
protected
225225

226-
def sql_for_insert(sql, pk, id_value, sequence_name, binds)
226+
def sql_for_insert(sql, pk, sequence_name, binds)
227227
if pk.nil?
228228
table_name = query_requires_identity_insert?(sql)
229229
pk = primary_key(table_name)

0 commit comments

Comments
 (0)