On 4/11/06, Sean H. email@example.com wrote:
Where do you all keep your passwords for your apps? Out Subversion
repo is locked down to authorized users, and only those users can see
code in Trac. Is it safe to store passwords in there? For Rails?
For other scripts? What’s your strategy for this?
Since the database servers on my dev machine, the other dev’s machine,
and the server are different anyway, I just leave database.yml out of
Subversion and recreate it in each location where the Rails app needs
to be run. I don’t think we have passwords anywhere else, but if you
do, you could put them in another YML file that you also transmit to
new installations outside version control.