Whitespaces

This commit is contained in:
Rafael Mendonça França 2023-10-16 13:53:40 +00:00
parent 3e810adef5
commit 7767b4f76b
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
3 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,7 @@ module ActiveRecord
if create_time_zone_conversion_attribute?(name, cast_type)
cast_type = TimeZoneConverter.new(cast_type)
end
super
end

View File

@ -187,6 +187,7 @@ module ActiveRecord
if lock_optimistically && name == locking_column
cast_type = LockingType.new(cast_type)
end
super
end

View File

@ -634,9 +634,11 @@ module ActiveRecord
def type_for_column(column)
type = connection.lookup_cast_type_from_column(column)
if immutable_strings_by_default && type.respond_to?(:to_immutable_string)
type = type.to_immutable_string
end
type
end
end