Skip to content

Commit cc86d04

Browse files
committed
Remove special StatementCache Substitute case
1 parent cad7c04 commit cc86d04

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/active_record/connection_adapters/sqlserver/database_statements.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ def sp_executesql_sql_type(attr)
276276

277277
def sp_executesql_sql_param(attr)
278278
value = attr.try(:value_for_database) || attr.try(:value_before_type_cast)
279-
if value.is_a?(ActiveRecord::StatementCache::Substitute)
280-
return quote('')
281-
end
282279

283280
case value
284281
when Type::Binary::Data,

0 commit comments

Comments
 (0)