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:

http://github.com/kete/kete_translatable_content/blob/master/rails/init.rb

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

http://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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to