Forum: Ruby on Rails Using render within plugin.

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.
7dff18d1fdcaf22f29b92367bc57fc50?d=identicon&s=25 Brad Chase (bachase)
on 2006-03-20 18: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.
Brad
This topic is locked and can not be replied to.