convince mongrel (or the app) to switch databases on request (maybe with
the rails routing facilities)

10 databases with the same structure but different data? This is doable.
You'd have to hack it yourself, probably by replacing ActiveRecord::
Base.connection with something that will internally hold 10 connections and
switch dynamically.

None of will have anything to do with Mongrel though. Mongrel is not a J2EE
container, it has no notion of database connections.

Alex
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to