On Thu, Jun 12, 2008 at 3:10 PM, matthew deiters <[EMAIL PROTECTED]> wrote: > If the database credentials reside in the ruby environment files then > we would be committing our database passwords into the repository.
There's no reason to keep the database credentials in environment.rb. Just throw them in a separate file, say database.rb, and ignore that the way you currently do database.yml. What's nice about this patch is that you can put the global configs in environment.rb (UTF8, db host, database name) and leave just the sensitive ones out of source control (username, password). And, of course, many databases don't have any sensitive credentials to worry about, like sqlite3. - Scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---