app/controllers/teacher/parents/students_controller.rb
def student_params
      params.fetch(:student, {}).permit(
        :waiver_force,
        :last_name,
        :first_name,
        :birthdate,
        :email,
        :level_id,
        :accommodations,
        :school,
        :school_grade,
        :highest_math_class,
        :priority,
        :waiver_confirmed)
    end
# 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 student_params
      params.fetch(:student, {}).permit(
        :waiver_force,
        :last_name,
        :first_name,
        :birthdate,
        :email,
        :level_id,
        :accommodations,
        :school,
        :school_grade,
        :highest_math_class,
        :priority,
        :waiver_confirmed)
    end
def student_params params . fetch ( :student , { } ) . permit ( :waiver_force , :last_name , :first_name , :birthdate , :email , :level_id , :accommodations , :school , :school_grade , :highest_math_class , :priority , :waiver_confirmed ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .