Actions from many controllers on one page


#1

Hey.
I’m currently lacking of a good solution for the following problem:
I’ve a few controller, each of them linked to a specific topic like
user, books, order etc. (Actually I know that this is the normal way
g. But its good for explanation). Alongside there is a home
controller that acts_as_my_start_page. On that page I want to include
information from each of the topic-related controllers. Means: I want
to call actions coming from these controllers on my
home-controller-index-view. Kind of sidebar functionality…

At the moment I solve this by calling “remote_functions” (that are
located at the end of my body tag) from that index page and include
the information via replace_html.

Obviously this isn’t quite the best solution. .
Can somebody help?

bye

A.Wolff

[http://activerails.de] Simple Ruby on Rails Weblog
[http://gtdonrails.com] Gtd on Rails – Personal GTD Tool