I Always Forget What Environment I Am In When Using Rails

Mar 25, 2012

I finally got tired of making changes in the wrong environment. More often than not, when coding, I will have the production site up and the dev site. I’ve editing the wrong one more times that I would like to admit. So I added a simple banner across the top when working in the development environment.

It’s real simple.

Then some simple CSS

Now I have a decent looking reminder where I am at.

If you enjoyed this and would like to be notified the next time I write something, you can subscribe with your choice of RSS or Email.

I promise not to spam you and you can unsubscribe at anytime.

Also, here are some other items you might like longer longer:

or go see everything in the archive.