Prod build process
This commit is contained in:
@@ -5,6 +5,8 @@ module IdCard
|
||||
belongs_to :provider_section, optional: true
|
||||
|
||||
validate :only_one_exception_field_present
|
||||
validates :field_name, presence: true
|
||||
validates :field_name, uniqueness: { scope: :field_exception_id }
|
||||
|
||||
FIELDS_TO_VALIDATE = [:field_value, :network_logo_id, :provider_section_id].freeze
|
||||
|
||||
|
||||
Reference in New Issue
Block a user