Forum: Ruby on Rails Actions from many controllers on one page

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Andreas W. (Guest)
on 2007-04-02 12:46
(Received via mailing list)
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?


[] Simple Ruby on Rails Weblog
[] Gtd on Rails -- Personal GTD Tool
This topic is locked and can not be replied to.