I have a Rails application that generates a weekly report and emails it out. I don't want the production app to have any sort of web interface, for security and convenience reasons (don't want to maintain a web interface).
However, I do have a rudimentary web interface to the database that I'd like to keep available in my development environment for debugging, etc.
Is there an easy way to make the controller methods invalid unless I'm in the development rails environment?