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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E6d0cccd75812627a8b00d9cb7cbb38b?d=identicon&s=25 Andreas Wolff (Guest)
on 2007-04-02 10:46
(Received via mailing list)
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
This topic is locked and can not be replied to.