Rest: user - membership - group


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:


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

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


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

Ryan B.
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