app/models/form_profile.rb
def prefill
    @identity_information = initialize_identity_information
    @contact_information = initialize_contact_information
    @military_information = initialize_military_information
    mappings = self.class.mappings_for_form(form_id)

    form = form_id == '1010EZ' ? '1010ez' : form_id
    form_data = generate_prefill(mappings) if FormProfile.prefill_enabled_forms.include?(form)

    { form_data: form_data, metadata: metadata }
  end
# Collects data the VA has on hand for a user. The data may come from many databases/services.
# In case of collisions, preference is given in this order:
# * The form profile cache (the record for this class)
# * ID.me
# * MVI
# * TODO(AJD): MIS (military history)
#
Collects data the VA has on hand for a user. The data may come from many databases/services.
In case of collisions, preference is given in this order:
The form profile cache (the record for this class)
ID.me
MVI
TODO(AJD): MIS (military history)
Collects data the VA has on hand for a user . The data may come from many databases / services . In case of collisions preference is given in this order : The form profile cache ( the record for this class ) ID . me MVI TODO ( AJD ) : MIS ( military history )
def prefill
    @identity_information = initialize_identity_information
    @contact_information = initialize_contact_information
    @military_information = initialize_military_information
    mappings = self.class.mappings_for_form(form_id)
    form = form_id == '1010EZ' ? '1010ez' : form_id
    form_data = generate_prefill(mappings) if FormProfile.prefill_enabled_forms.include?(form)
    { form_data: form_data, metadata: metadata }
  end
def prefill @identity_information = initialize_identity_information @contact_information = initialize_contact_information @military_information = initialize_military_information mappings = self . class . mappings_for_form ( form_id ) form = form_id == '1010EZ' ? '1010ez' : form_id form_data = generate_prefill ( mappings ) if FormProfile . prefill_enabled_forms . include? ( form ) { form_data : form_data , metadata : metadata } end
Collects data the VA has on hand for a user.
Collects data the VA has on hand for a user .