On 19 December 2010 09:33, Paul Bergstrom <[email protected]> wrote: > How do I deal with a page called "overview" that displays information > from many models at the same time?
There does not have to be one to one relationship between controllers and models. A controller can get data from as many models as it likes. You could have an overview controller if that seems appropriate. If the data from the various models is displayed on different areas of the screen then use a partial for each section. > > How do I deal with a page called "me" that displays information about > the user? I can see the benefit of routes in a basic database app with > list, view, edit, show. But I don't understand the logic for examples > like mine. In my case it will make much more sense for the user to go to > a page called "me" than "user/2". What do you mean 'a page called me'? Do you mean the URL? If so how would you know which user to show for that url? Colin -- 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.

