title: How to switch env(test, prod) when deploying rails app to Heroku?
body: <p>I am trying to setup a staging env for my app on <strong>Heroku</strong>. And everytime I push my repo it deploys/runs the application in <code>production</code> mode. What do I need to do to make the app run in  some other mode.</p>