Skip to content

Commit

Permalink
Update lib/tapioca/dsl/helpers/active_record_column_type_helper.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Momchilov <amomchilov@users.noreply.github.com>
  • Loading branch information
kbruccoleri and amomchilov authored Sep 12, 2024
1 parent 39e210c commit 507f1ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def type_for_activerecord_value(column_type, column_nullability:)
"T::Array[#{type_for_activerecord_value(column_type.subtype, column_nullability:)}]"
when ->(type) {
defined?(ActiveRecord::Locking::LockingType) &&
ActiveRecord::Locking::LockingType === type
ActiveRecord::Locking::LockingType === type
}
as_non_nilable_if_persisted_and_not_nullable(
"::Integer",
Expand Down

0 comments on commit 507f1ab

Please sign in to comment.