mirror of
https://github.com/internetee/registry.git
synced 2025-08-11 03:59:33 +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_html
|
||||||
validate :validate_country_code, if: -> { self.class.address_processing? }
|
validate :validate_country_code, if: -> { self.class.address_processing? }
|
||||||
validates :registrant_publishable, inclusion: { in: [true, false] }, if: -> { registrant? }
|
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
|
after_initialize do
|
||||||
self.status_notes = {} if status_notes.nil?
|
self.status_notes = {} if status_notes.nil?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue