[Vista] register_template_handler Plugin
Reported by Jason Martin | July 1st, 2008 @ 01:52 AM
Not sure if this shows up anywhere else, or breaks something,
but when running the hobo appname command, app generates fine,
plugin starts installing and then cops out with:
"vendor/plugins/hobo/init.rb:31:in evaluate_init_rb':
undefined method
register_template_handler' for
ActionView::Base:Class (NoMethodError)"
You can fix this on a per instance basis in vendor/plugins/hobo/init.rb by changing line 31 from:
ActionView::Base.register_template_handler("dryml", Hobo::Dryml::TemplateHandler)
To:
ActionView::Template.register_template_handler(:dryml, Hobo::Dryml::TemplateHandler)
This is similar I think to a problem markaby had, according to the rails team, it was due to refactoring of actionview...don't know if this helps/hurts yet, but at least the app generates fine.
If you want a permanent change, you can find the plugin in:
$RUBY_HOME\lib\ruby\gems\1.8\gems\hobo-0.7.5\hobo_files\plugin
Comments and changes to this ticket
-
Tom Locke July 29th, 2008 @ 10:13 AM
- State changed from new to resolved
This should all be sorted now on edge Hobo and Rails 2.1
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
- Nobody is watching this ticket.