You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems like a bad idea. If I have several ExtendedDocuments, they all have references to separate CouchRest::Database instances. If I change one, it doesn't reflect across the others.
I'm trying to write an Sinatra app which scopes different clients to different databases. Since every subclass of CouchRest::ExtendedDocument comes with a separate copy of the database, it's impossible to change all of them at once.
The text was updated successfully, but these errors were encountered:
Issue from: http://github.com/couchrest/couchrest/issues#issue/11
This seems like a bad idea. If I have several ExtendedDocuments, they all have references to separate CouchRest::Database instances. If I change one, it doesn't reflect across the others.
I'm trying to write an Sinatra app which scopes different clients to different databases. Since every subclass of CouchRest::ExtendedDocument comes with a separate copy of the database, it's impossible to change all of them at once.
The text was updated successfully, but these errors were encountered: