app/controllers/users_controller.rb
# Only allow a trusted parameter "white list" through.
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .
def user_params
     params.require(:user).permit(:id, :name, :email, :password, :username,
       :allowance, :supervisor, :employee_status, :school_attending,
       :degree_type, :degree_program, :eligibility, :request => [:id,
       :amount_requested, :amount_paid, :date_processed, :processing_status,
       :notes, :request_approved, :documents_submitted])
   end
def user_params params . require ( :user ) . permit ( :id , :name , :email , :password , :username , :allowance , :supervisor , :employee_status , :school_attending , :degree_type , :degree_program , :eligibility , :request => [ :id , :amount_requested , :amount_paid , :date_processed , :processing_status , :notes , :request_approved , :documents_submitted ] ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .