I have a app in Rais 3 with the user can select which repository will be 
used to work.


The user X access the app with :default repository, and in app he have a 
form to select which repository will work.

I need set the repository selected as default in all app!

This is possible?

I tried *DataMapper::Repository.context << 
repository(:repository_selected),  *but the next request back to the 
default repository


Andre Lima

You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to