Jonah Fox
Admin · Not a member
Jonah Fox's latest activity
Saturday, February 07 2009
1905
app/helpers within plugin not being mixed in
was updated
in Ruby on Rails
-
Jonah Fox commented at 3:26 PMIn fact this only works if there's already a users_helper.rb within the main project.
If not then I have to do:
ActionView::Base.send :include, UsersHelper;
wit...
-
Jonah Fox commented at 3:03 PM--- meant to say ---
I found that it works if I explicitly include the helper from plugin/init.rb, like:
require File.join(File.dirname(FILE), "app", "helpers",...
-
Jonah Fox commented at 3:02 PMI found that by explicitly including the helper from plugin/init.rb, like:
require File.join(File.dirname(FILE), "app", "helpers", "users_helper.rb")
Is this ex...
-
Jonah Fox created the ticket at 12:25 PMI have a plugin (engine) with an app directory. Everything works fine except the plugin/app/helpers/* are not being mixed in.
To get the project to run I have t...