Prod build process
This commit is contained in:
@@ -6,6 +6,8 @@ module IdCard
|
||||
|
||||
serialize :exception_values, coder: JSON
|
||||
|
||||
validates :exception_type, :exception_values, presence: true
|
||||
|
||||
VALID_TYPES = ['family_id', 'zipcode', 'state'].freeze
|
||||
|
||||
before_validation :format_exception_values, if: :exception_values_changed?
|
||||
|
||||
Reference in New Issue
Block a user