Prod build process

This commit is contained in:
Jason Jordan
2026-05-06 13:28:16 -04:00
parent 1d9025276d
commit e0101be567
223 changed files with 1861 additions and 7105 deletions
+8 -3
View File
@@ -4,6 +4,14 @@ class Member < ApplicationRecord
belongs_to :employer
serialize :dependents, coder: JSON
validates :pb_entity_key, presence: true
validates :name, :family_id, :mb_member_key, :pl_plan_key,
:id_card_display_name, presence: true, unless: :new_record?
validates :division, presence: true, if: -> { employer.id_card_setup.has_divisions }
validates :coverage_class, :dental_plan_key, presence: true, if: -> { employer.id_card_setup.has_dental }
validates :name, :mb_member_key, :pb_entity_key, uniqueness: true
before_validation :format_dependents, if: :dependents_changed?
def id_card_field_exception_values
@@ -23,7 +31,4 @@ class Member < ApplicationRecord
end
end
end