Hi I would like to know is there any serious problem if committing database.yml file to svn? What I am currently doing is committing database.yml.sample file to svn. So an extra step needed in each production setup(locally example I have not deployed originally) that I have to edit mv database.yml.sample to dtabase.yml Please share your thoughts Thanks Tom -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hello, I think it''s just an unnecessary step to rename your db config everytime... There''s no difference if its databse.yml or databse.yml.sample apart from that extra renaming step. On Feb 26, 10:27 am, Tom Mac <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi > I would like to know is there any serious problem if committing > database.yml file to svn? What I am currently doing is committing > database.yml.sample file to svn. So an extra step needed in each > production setup(locally example I have not deployed originally) that I > have to edit mv database.yml.sample to dtabase.yml > Please share your thoughts > > Thanks > Tom > -- > Posted viahttp://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
The only problem I see is that if you are working on a group, your database login will be exposed and you might annoy the other developer who had his/her own database.config On Feb 26, 2010 5:07 PM, "Ugis Ozols" <ugis.ozolss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: Hello, I think it''s just an unnecessary step to rename your db config everytime... There''s no difference if its databse.yml or databse.yml.sample apart from that extra renaming step. On Feb 26, 10:27 am, Tom Mac <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > Hi > I would like to know is there...> Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"... -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Actually, you may do as you do, except you should create database.yml file on the remote server and add it to ignore list at the SVN. On Feb 26, 10:27 am, Tom Mac <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi > I would like to know is there any serious problem if committing > database.yml file to svn? What I am currently doing is committing > database.yml.sample file to svn. So an extra step needed in each > production setup(locally example I have not deployed originally) that I > have to edit mv database.yml.sample to dtabase.yml > Please share your thoughts > > Thanks > Tom > -- > Posted viahttp://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.