Okay, I''m just getting back into using Rails for a few private projects and am trying to stick to the RESTful way of doing things. If I have a teacher model and a lesson model, the basic scaffold setup to create these items is fine. But then I have the relationship that a teacher habtm lessons and a lesson habtm teachers. The logical place to implement that is in the teachers_controller but I''d like to know the best route to make. I''ve added this to my config/routes.rb .... map.resources :teachers, :member => { :new_teacher_pool => :get, :create_teacher_pool => :post} which allows me URLs like teacher/1/new_teacher_pool and /teacher/1/create_teacher_pool but I don''t know if I should just be using the default controller and use a URL such as /teacher/new_pool/1 and /teacher/create_pool/1(posted pool_id(s)) etc. What''s the best way to approach this? Thanks in advance -Ants -- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---