Rest: user - membership - group

Hi

trying to make sense of some less straightforward restful concepts:

If users have groups through memberships - How would the routes look?

Im pretty stumped on this one :slight_smile:

Ivor

map.resources :users, :has_many => :memberships

map.resources :groups, :has_many => :users

No?

On Jan 9, 2008 3:45 AM, Ivor P. [email protected] wrote:


Ryan B.
http://www.frozenplague.net
Feel free to add me to MSN and/or GTalk as this email.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs