mlittle wrote:
> Robert,
> 
> Thanks so much for the help. Question, though, could you help with
> with the routing that would be involved?
> 
> On Oct 1, 7:20�pm, Robert Walker <[email protected]>

I can't think of any "special" routing that would be required. This 
design uses all standard REST actions so you should need only the 
standard resource routes:

map.resources :users, :loans, :books, :libraries

I suppose you could use some nested routes, but that would not be 
required for this to work. You would need some way to let the 
loans_controller know what library the book is attempting to be returned 
to, but I don't think that should affect routing in any way.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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