app/controllers/admin/disputes_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 dispute_params
      params.require(:dispute)
            .permit(:domain_name, :password, :starts_at, :comment)
            .with_defaults(starts_at: Time.zone.today)
    end
def dispute_params params . require ( :dispute ) . permit ( :domain_name , :password , :starts_at , :comment ) . with_defaults ( starts_at : Time . zone . today ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .