app/controllers/casa_cases_controller.rb
# Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .
def casa_case_params
    params.require(:casa_case).permit(
      :case_number,
      :transition_aged_youth,
      :birth_month_year_youth,
      :court_report_due_date,
      :hearing_type_id,
      :judge_id
    )
  end
def casa_case_params params . require ( :casa_case ) . permit ( :case_number , :transition_aged_youth , :birth_month_year_youth , :court_report_due_date , :hearing_type_id , :judge_id ) end
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .