Displaying 2 results from an estimated 2 matches for "dev_db".
Did you mean:
dev_dbg
2006 Aug 03
5
Database configuration across developers!
Hi,
I have what might be a silly question but is there any way to put some
of the database configuration information into a separate file? For
instance, in config/database.yml I have:
developer_database: &developer_database
adapter: mysql
username: me
password: something
host: 127.0.0.1
development:
<<: *developer_database
database: foobar_development
test:
<<:
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