Friends,

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

Exemple:

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

Thanks

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 datamapper+unsubscr...@googlegroups.com.
To post to this group, send email to datamapper@googlegroups.com.
Visit this group at http://groups.google.com/group/datamapper?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to