search for: production_database

Displaying 3 results from an estimated 3 matches for "production_database".

2013 May 15
1
staging deploy connected to production database
...duction database not staging database in my database.yml file: staging: adapter: mysql2 encoding: utf8 database: staging_database pool: 5 username: username password: password socket: /var/run/mysqld/mysqld.sock host: host production: adapter: mysql2 encoding: utf8 database: production_database pool: 5 username: username password: password socket: /var/run/mysqld/mysqld.sock host: host Why is it linking to the production database and not staging? I don''t see where that option is specified during the deploy process. -- You received this message because you are subscri...
2009 Mar 08
1
MIgration Problem in 2.1.2
I suspect this is because it is a 1.x application which was upgraded, but my migrations don''t "stick." If I Coder-iMac:patton colin$ rake db:migrate (in /Users/colin/Desktop/patton) == 20090217193953 AddLastYearToTarget: migrating ============================== == 20090217193953 AddLastYearToTarget: migrated (0.0001s) ===================== == 20090222192059 AddEditorToUser:
2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup. Currently we have our rails app serving two distinct sites, soon to be three. At the moment we check out a separate set of code for each site, and configure it by adjusting the database setting and some config files that pull in separate style sheets. To remove this replication I''d like to have a single codebase, but