# Rails 2.3 and helpers within plugins

**URL:** <https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484>\
**Category:** Rails\
**Created:** [March 20, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484 "2009-03-20T21:18:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![acras](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@acras](https://www.ruby-forum.com/u/acras)\
**Post date:** [March 20, 2009, 9:18pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484/1 "2009-03-20T21:18:48Z")

</div>

Hi,

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?

---

<div class="post-metadata">

**Author:** ![acras](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@acras](https://www.ruby-forum.com/u/acras)\
**Post date:** [March 20, 2009, 9:28pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484/2 "2009-03-20T21:28:46Z")

</div>

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  
app.  
My question now is: how can I do it the best way?

---

<div class="post-metadata">

**Author:** ![acras](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/f4b2a3/32.png) [@acras](https://www.ruby-forum.com/u/acras)\
**Post date:** [March 20, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484/3 "2009-03-20T21:45:13Z")

</div>

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

thanks
