Forum: Ruby on Rails Regarding inline rendering of templates

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.
87e41d0d468ad56a3b07d9a6482fd6d5?d=identicon&s=25 Hemant Kumar (gnufied)
on 2006-06-05 18:28
(Received via mailing list)
Hi All,

Been looking for solution to this problem since quite few days, and at
i post it here. So, something on the lines of partial templates i want
render a complete template(for some action X in the Controller C) inline
within another template(for action Y in Controller C2).

Now, first question is, is it possible? No..i can't use
because i am not making any Ajax calls and i want the whole page to be
rendered at the beginning itself.Not modify the DOM once the page is

You may ask, why i need this? This may break the principle of code
decoupling!! but the reason is, I have a index.rhtml page in "blah"
controller.Now, this index.rhtml is some sort of home page. In the same
page, i have a small message board at the bottom...and this message
board is
a different controller in itself ( I guess, it doesn't make sense to
make it
part of main controller also).

With Regards
This topic is locked and can not be replied to.