Maybe someone can point me in the right direction here:
Say I'm developing a site where the main page is a sort of portal. On
that page I'd like to display content from various controllers in my
For example: The top right of the screen would have a div to login
utilizing my Session controller. The left side of the screen would have
a div displaying content from an RSS feed controller. There would be a
div containing page specific navigation tabs coming from a Navigation
controller.... you get the idea...
So for example I'm thinking of having a Home or Welcome controller that
displays views/home/index.html.erb. This inherits a layout from
Application that gives me the top banner and footer for the site. So in
the controller I'll put some logic to decide which navigation div to
display and the login div based on whether the user is logged in.
So I'm in my Home controller. I'm working with def index utilizing
views/home/index.html.erb and i want to display content from multiple
I've found lots of different ideas on google, but nothing rock solid.
I'm on rails 2.1.
Any direction would be much appreciated.