search for: migrate_production

Displaying 1 result from an estimated 1 matches for "migrate_production".

2006 Oct 19
0
Migrations, superusers, security and least privileges
...deal scenario: - In the database.yml file, I would write :prompt for the password - Whenever I run a command that uses that environment, the command line prompts me for the password - When I want to migrate to the production database, I can just create a new environment called "migrate_production", specify the production database and superuser username, and :promt for the password - that way the production site uses the stored password for the limited user, but I can deploy as a superuser. - While deploying with Capistrano, I would set the RAILS_ENV to migrate_production...