From a6ee863b0216a0ad0de2400b7ac40c9bd51b2ee0 Mon Sep 17 00:00:00 2001 From: James Woodrow Date: Sun, 12 Nov 2023 17:07:19 +0100 Subject: [PATCH] it's a serializer not a type (I think) --- lib/globalize/active_record/act_macro.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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