Skip to content

Commit 7767b4f

Browse files
committed
Whitespaces
1 parent 3e810ad commit 7767b4f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

activerecord/lib/active_record/attribute_methods/time_zone_conversion.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def hook_attribute_type(name, cast_type)
7474
if create_time_zone_conversion_attribute?(name, cast_type)
7575
cast_type = TimeZoneConverter.new(cast_type)
7676
end
77+
7778
super
7879
end
7980

activerecord/lib/active_record/locking/optimistic.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ def hook_attribute_type(name, cast_type)
187187
if lock_optimistically && name == locking_column
188188
cast_type = LockingType.new(cast_type)
189189
end
190+
190191
super
191192
end
192193

activerecord/lib/active_record/model_schema.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,9 +634,11 @@ def compute_table_name
634634

635635
def type_for_column(column)
636636
type = connection.lookup_cast_type_from_column(column)
637+
637638
if immutable_strings_by_default && type.respond_to?(:to_immutable_string)
638639
type = type.to_immutable_string
639640
end
641+
640642
type
641643
end
642644
end

0 commit comments

Comments
 (0)