RE: [Rails] REST and habtm relationship

I've got a habtm relationship that I'd really like to control

RESTfully

but I'm not sure how best to handle it.

REST hasn't changed the way habtm relationships work. You can implement the habtm models as before. Then create the routes like so:

map.resources :genres do |genre|   genre.resources :films end

If you scaffold the resources, they'll need a little tweaking to get the paths right but there's plenty of information on how to proceed out there. (There's a fine example in AWDWR 2nd.)

Roderick