AFAIK the RESTful part is unrelated to the view part.
REST should deal with resources only, so:
/documents should return an index of all docs,
/authors should return an index of all of them,
then an association should be created when POSTing to /authors/
id_from_right_pane/documents/id_from_left_pane.
It should be usable without defining any view.
Afterwards, on top of that, build the view.

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to