We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f4cf5 commit c8ea8ceCopy full SHA for c8ea8ce
lib/active_record/connection_adapters/sqlserver/database_statements.rb
@@ -337,7 +337,7 @@ def sp_executesql_types_and_parameters(binds)
337
338
def sp_executesql_sql_type(attr)
339
if attr.respond_to?(:type)
340
- type = attr.type.is_a?(ActiveRecord::Normalization::NormalizedValueType) ? attr.type.cast_type : attr.type
+ type = attr.type.is_a?(ActiveModel::Attributes::Normalization::NormalizedValueType) ? attr.type.cast_type : attr.type
341
type = type.subtype if type.serialized?
342
343
return type.sqlserver_type if type.respond_to?(:sqlserver_type)
0 commit comments