aktxyz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2006-Dec-29 18:12 UTC
development, test, production ... how about stage
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 development This seems useful to me. Comments ? Comment enough to think about submitting to the rails folks ? -- thanks, Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
aktxyz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> 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 > developmentThat''s how I do it, too.> Comments ? Comment enough to think about submitting to the rails folks > ? >However I don''t think it''s common enough to be considered for core, if that what''s you''re asking; it''s easy enough for someone to do it themselves (like you did), and everyone is going to want different things in their "stage" environment. Jeff softiesonrails.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- Has anyone created a UAT environment to go with test, development and production?
- staging deploy connected to production database
- New Environment?
- Help...why ''rake migrate'' can''t be executed on RadRails
- Deploying to a staging server using Capistrano: how to start up BackgrounDRb?