I find a “mode” is missing when I iterate on my rails apps…
Specifically, right before production, I want to run on my development
machine as if I am in production mode. It mainly boils down to this…
- I want the production setup (caching, error handling, etc)
- but I want my local machine DB (password, socket, etc)
So I have been using an additional mode that I call stage.
- just copied config/environments/production.rb to stage.rb
- and have a stage item in my database.yml that looks more like
This seems useful to me.
Comments ? Comment enough to think about submitting to the rails folks
– thanks, Andrew