Forum: Ruby on Rails Rails 2.3 and helpers within plugins

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.
acras (Guest)
on 2009-03-20 22:18
(Received via mailing list)

  I'm porting a plugin of mine to work with rails 2.3. My plugin is
based in engines.
  I'm doing good so far, the only problem is with helpers. Rails seems
not to recognize helpers from my plugin.

Anyone ran into this issue?
acras (Guest)
on 2009-03-20 22:28
(Received via mailing list)
I'm starting to get it. Engines Plugin did some kind of generic
include, making the helpers within a plugin to be available within the
My question now is: how can I do it the best way?
acras (Guest)
on 2009-03-20 22:45
(Received via mailing list)
Got it,

  Just put in my init.rb some lines like:

ActionView::Base.send :include, ResourcesHelper
ActionView::Base.send :include, AcApplicationHelper
ActionView::Base.send :include, LookupHelper

This topic is locked and can not be replied to.