Re: [Rails] Remove passwords from database.yml in rails 2.3.8 application?

2015-11-02 Thread Colin Law
On 2 November 2015 at 00:31, Robert Nicholson wrote: > We have a 2.3.8 application that has hard coded passwords in the database.yml > file. > > If we were to use erb to bring these in from a file outside where in the > initialization steps > do I load the file to populate the variable I wish to

Re: [Rails] Remove passwords from database.yml in rails 2.3.8 application?

2015-11-01 Thread Tamara Temple
Robert Nicholson writes: > We have a 2.3.8 application that has hard coded passwords in the database.yml > file. > > If we were to use erb to bring these in from a file outside where in the > initialization steps > do I load the file to populate the variable I wish to interpolate? > > When I t

[Rails] Remove passwords from database.yml in rails 2.3.8 application?

2015-11-01 Thread Robert Nicholson
We have a 2.3.8 application that has hard coded passwords in the database.yml file. If we were to use erb to bring these in from a file outside where in the initialization steps do I load the file to populate the variable I wish to interpolate? When I tried to do so in config/environment.rb the