mirror of
https://github.com/internetee/registry.git
synced 2025-07-30 22:46:22 +02:00
remove validator
This commit is contained in:
parent
0b9bbc1768
commit
39e066f15f
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue