Skip to content

Commit

Permalink
need the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoodrow authored Nov 12, 2023
1 parent 1ca41c6 commit aa9035b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/patches/active_record/rails7_1/serialization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def serialize(attr_name, class_name_or_coder = Object, **options)

super(attr_name, **options)

coder = if options[:coder] == ::YAML || options[:coder] == Coders::YAMLColumn
coder = if options[:coder] == ::YAML || options[:coder] == ::ActiveRecord::Coders::YAMLColumn
options[:coder]
else
build_column_serializer(attr_name, options[:coder], options[:type], options[:yaml])
Expand Down

0 comments on commit aa9035b

Please sign in to comment.