-
-
Save anonymous/11979ff5d064487f8f00cd2ecc7b82c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def profile_params | |
params.require(:user).permit( | |
:first_name, | |
:last_name, | |
primary_skill_list: [], | |
secondary_skill_list: [], | |
profile_info_attributes: [:id, :profile_pic, :cover_pic, :about, :work_offsite_alone, :willing_to_relocate, :willing_to_travel, :gender], | |
address_attributes: [:id, :street_address, :city, :zip, :state_id], | |
profile_projects_attributes: [:id, :title, :description, :company, :duration, :completion_date, :position, :through_binkable, media_attributes: [:id, :url, :media_type]] | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment