From ea3a04946d0f0296c334c3767917cf7eee84beae Mon Sep 17 00:00:00 2001 From: sjieg Date: Wed, 31 Jul 2024 13:48:55 +0200 Subject: [PATCH] 667: Fix missing coder for Rails 7.1 --- lib/rpush/client/active_record/notification.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rpush/client/active_record/notification.rb b/lib/rpush/client/active_record/notification.rb index 666c2fc7b..34b998b72 100644 --- a/lib/rpush/client/active_record/notification.rb +++ b/lib/rpush/client/active_record/notification.rb @@ -7,8 +7,8 @@ class Notification < ::ActiveRecord::Base self.table_name = 'rpush_notifications' - serialize :registration_ids - serialize :url_args + serialize :registration_ids, coder: YAML + serialize :url_args, coder: YAML belongs_to :app, class_name: 'Rpush::Client::ActiveRecord::App'