added breakpoints

This commit is contained in:
olegphenomenon 2022-10-19 16:03:39 +03:00
parent bc54a3f70c
commit 84aa93e97b
2 changed files with 14 additions and 8 deletions

View file

@ -65,7 +65,7 @@ class Contact < ApplicationRecord
validate :validate_html
validate :validate_country_code, if: -> { self.class.address_processing? }
validates :registrant_publishable, inclusion: { in: [true, false] }, if: -> { registrant? }
validates :registrant_publishable, inclusion: { in: [false] }, unless: -> { registrant? }
# validates :registrant_publishable, inclusion: { in: [false] }, unless: -> { registrant? }
after_initialize do
self.status_notes = {} if status_notes.nil?