rails don't need middleware runtime