diff --git a/lib/globalize/active_record/act_macro.rb b/lib/globalize/active_record/act_macro.rb index 9c411616..7e260329 100644 --- a/lib/globalize/active_record/act_macro.rb +++ b/lib/globalize/active_record/act_macro.rb @@ -86,7 +86,7 @@ def enable_serializable_attribute(attr_name) end if ::ActiveRecord.version >= Gem::Version.new("7.1.0") - translation_class.send :serialize, attr_name, type: serializer + translation_class.send :serialize, attr_name, coder: serializer else translation_class.send :serialize, attr_name, serializer end