I have this RoR (2.3.16) app that has a simple agenda tool. Each
has their own individual database, and I have one central database with
login, passwd and the customer database name.
Something like this:
So, after user authentication, I set the correspondent database
according each customer.
The problem is:
Customer 1 sometimes see records from customer 2, even being on
I’m totally lost here… I just suspect that this could be a database
connection cache issue, since the SQL query is the same for every
(ie.: select * from agendas;) but the connection string is different for
Most of the time everything runs ok… but some customers are getting
Any idea of what could be happening?
ruby 1.8.7 (2012-02-08 patchlevel 358)
Thank you very much in advance for any help!!