def destroy
      @field = Field.find(params[:id])
      @field.destroy

      flash[:notice] = 'Field was successfully deleted.'

      section_id = params[:section_id]
      redirect_to edit_engine_room_section_url(section_id)
    end
def destroy
      @field = Field.find(params[:id])
      @field.destroy

      flash[:notice] = 'Field was successfully deleted.'

      section_id = params[:section_id]
      redirect_to edit_engine_room_section_url(section_id)
    end
DELETE /fields/1