Ar Chron wrote:
> Not to backtrack too far, but why a separate physical database per user?
> 
> If they are all running the same application, could not a single 
> database be used for multiple users? You'd just need to scope the 
> queries by "owner", and persist the owner on record creation.
> 
> To answer your question, "disconnect!"

Hi Chron:
I am planning to keep seperate db for all my future clients coz keep a 
single db wont be feasible since they may have their individual 
requirements and configuration. Also we have Ferret Search in our 
application.. so keep dbs seperate will be a better option.
Anyways i did it. I maintained a session variable to avoid function call 
each time.
N thanks for "disconnect!" :)
What i am lookin for now is how to maintain two db connections 
simultaneously and how to hop among them. I dont want to set up 
connection each time i need it.

Thanks Again
Priya Saini
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to