Topic: REST and habtm
I'm just trying to work out how something will work with REST.
My Task and Document Model have a habtm relationship. When you add a new Document you must add it to a Task. However I want to give the option of adding it to other tasks later. I don't want to do this through the edit/update page - I want it to be a distinctly seperate action (kind of like a tagging idea). I'm actually going to be doing something similar to this with other models too.
How can I do this RESTfully? Do I just have to break out of REST and create a new action in my Document controller, or should I create a seperate controller for document_tasks? Or is there some way I haven't thought of yet?