mercredi 20 mai 2015

Run ActiceRecord commands on Rails console without SQL caching

I would like to know if there is a way to disable SQL caching temporarily on Rails console.

I am running ActiveRecord commands on Rails console to see how long each queries take. But I cannot get a correct measure because Rails is caching the SQL and my queries seem to be happening almost instantaneously.

Any suggestions?

Aucun commentaire:

Enregistrer un commentaire