Ticket: http://dev.rubyonrails.org/ticket/10583
It would be nice if RAILS_ENV supported .development?, .test?, and .production?
For example, I could do caches_pages :index if RAILS_ENV.development? instead of caches_pages :index if RAILS_ENV == "development"
This can be very helpful in helping remove bugs such as the following typo:
caches_pages :index if RAILS_ENV == "developnent"