app/models/unidom/contact/contact_subscription.rb in unidom-contact-1.4 vs app/models/unidom/contact/contact_subscription.rb in unidom-contact-1.4.1

- old
+ new

@@ -5,10 +5,10 @@ self.table_name = 'unidom_contact_subscriptions' include Unidom::Common::Concerns::ModelExtension - validates :name, presence: true, length: { in: 2..self.columns_hash['name'].limit } + validates :name, presence: true, length: { in: 2..self.columns_hash['name'].limit } belongs_to :contact, polymorphic: true belongs_to :subscriber, polymorphic: true scope :contact_is, ->(contact) { where contact: contact }