Controller layouts

snacktime
Fri, 11 Jan 2008 22:08:53 -0000

This is a particular example of a situation where I''m having trouble
coming up with a clean controller layout.   Say I have a single view
with some ajax slide downs for things such as the email address, name,
address, etc..   The data lives in 2 different models.  CRUD fits
nicely, but I''m working with multiple models/resources.   If I put it
all in a single controller that works, but it seems messy and and I
use REST won''t I have a bunch of custom REST routing?  If I use two
controllers, how do I render to the same view from both of them?

Chris

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