Forum: Ruby on Rails Embedding an action on a 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.
A878ddd72afd550916074d25f5e94cc2?d=identicon&s=25 wheels (Guest)
on 2007-01-19 16:30
(Received via mailing list)
How can I embed the contents of an action in a page?

For instances, I have a method, show_info that has the def render_text
"HELLO" and on another page, i have:
 <%= render :controller => 'info_user', :action => 'show_info' ' %>

Yet, this produces nothing.

Any ideas?

This topic is locked and can not be replied to.