title: how to set postgresql command timeout in rails
body: <p>I'm using heroku and heroku postgresql. How do I set db command timeout so that I get an exception when a sql command takes longer than 10 seconds?</p>