I'm trying to switch from one database to another. Current, I have
@client_id = 'production'
config = YAML.load( File.open(File.join(RAILS_ROOT, 'config/
db = config[@client_id]
raise 'Invalid client id' if db.nil?
Obviously, that's not working 'cause I'm asking for help! No errors
being thrown, but database is not getting switched.