Forum: Ruby on Rails Using render within plugin.

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.
Brad C. (Guest)
on 2006-03-20 19:24
I am very, very new to rails (and ruby) and am working on a view
extension helper method.  In a template I have
<%= my_helper params %>

my_helper does some system calls and ends up placing an image file in
the public images folder (which I referenced within the plugin using
RAILS_ROOT).  I want the helper to then return an appropriate image link
to the template.  I want to use the image_tag method to do so, or at
least render that within an inline template, but I don't know how to get
the active controller to do so.  Thanks for any help.
This topic is locked and can not be replied to.