Avoid record destroy

commented:
#       delete "/#{klass.table_name}/:id/?" do
#          record = klass[params[:id]] or halt 404
#          if record.destroy
#            status 200
#          else
#            status 406
#            {errors: record.errors}.to_json
#          end
#        end