app/models/user_preference.rb
Class UserPreference
has 24 methods (exceeds 20 allowed). Consider refactoring. Invalid
Invalid
class UserPreference < ApplicationRecord
belongs_to :user
delegate :notification_settings, to: :user
serialize :settings, coder: ::Serializers::IndifferentHashSerializer