# Helper module not included on subsequent requests form engine gem in development from passenger

**URL:** <https://www.ruby-forum.com/t/helper-module-not-included-on-subsequent-requests-form-engine-gem-in-development-from-passenger/188007>\
**Category:** Rails\
**Created:** [May 4, 2010, 1:21am UTC](https://www.ruby-forum.com/t/helper-module-not-included-on-subsequent-requests-form-engine-gem-in-development-from-passenger/188007 "2010-05-04T01:21:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walter\_McGinnis](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7993a0/32.png) [@Walter\_McGinnis](https://www.ruby-forum.com/u/Walter_McGinnis)\
**Post date:** [May 4, 2010, 1:21am UTC](https://www.ruby-forum.com/t/helper-module-not-included-on-subsequent-requests-form-engine-gem-in-development-from-passenger/188007/1 "2010-05-04T01:21:51Z")

</div>

Hi,

I’m working on a Rails 2.3.5 based gem that acts as an “add-on” for an  
existing application. It basically pulls in functionality from  
another more generic gem and sets up the application to use it.

In its rails/init.rb it adds some helpers to ApplicationHelper.  
Here’s the init.rb file:

> <https://github.com/kete/kete_translatable_content/blob/master/rails/init.rb>

and here is the other gem’s lib that is being included:

> <https://github.com/kete/mongo_translatable/blob/master/lib/translatables_helper.rb>

My issue is that after the initial request to my app on a view that  
calls one of those helpers, I get a method not defined error if I’m in  
development mode (production works as expected).

I’ve tried a few different things (unloadable and wrapping method  
definitions in unless modules.include? TranslatablesHelpers  
conditional), but am not making any headway.

Suggestions?

Cheers,  
Walter
