Jeff Emminger wrote:
> Did you mean
> "#{release_path}/config/database.yml"
>
> instead of
> "#{release_path}/config/config.yml"
>
>
> On Feb 16, 8:02�am, Arthur Chan <[email protected]>
Yes and no. I wanna update the database.yml. But the main reason I do
this task is to protect the password, so I should not write anything
there. Instead, I wanna create an object to hold the MYSQL login and put
it in the database.yml:
development:
adapter: mysql
database: arthur_dev
username: <%= username %>
password: <%= password %>
The problem is in Capistrano that I don't know how to retrieve the
password from Capistrano
"Capistrano::CLI.password_prompt('mysql_username: ')".
Thanks much!
Arthur
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---