From de89f683e74f742584cc2e3079194ab6d593903f Mon Sep 17 00:00:00 2001 From: Aidan Haran Date: Mon, 2 Oct 2023 12:33:32 +0100 Subject: [PATCH] Do not perform super --- .../connection_adapters/sqlserver/database_statements.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/active_record/connection_adapters/sqlserver/database_statements.rb b/lib/active_record/connection_adapters/sqlserver/database_statements.rb index 7efc1c8fa..217677ff4 100644 --- a/lib/active_record/connection_adapters/sqlserver/database_statements.rb +++ b/lib/active_record/connection_adapters/sqlserver/database_statements.rb @@ -308,7 +308,8 @@ def sql_for_insert(sql, pk, binds, _returning) else "#{sql}; SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident" end - super + + [sql, binds] end # === SQLServer Specific ======================================== #