Is it possible to change database settings programmatically? What I am looking for is if there''s a situation where a Find(), or Create() fails, I would like to be able to redirect Rails to a different db connection. I know that this is something that could be accomplished at the OS level, but because of certain constraints, I need to be able to do this at the application level. Thanks in advance. -- Posted via http://www.ruby-forum.com/.
Reasonably Related Threads
- FW: re: Asterisk Outbound with Failover, alarm notification, dial status and hangupcause capturing to CDR from Dialplan
- Appending something to a Rails route?
- Redirection in shell (was: squid HA failover?)
- No failover from director to backend?
- switch a source, idea?