title: How to add a delay to Rails controller for testing?
body: <p>I'm testing the front end of a web application and want to test how some of the transitions appear with various delays in between AJAX requests.  Is there any way I can add a <code>sleep(1500)</code> to my controller to delay the response?</p>