Namespace conflict with Template class
Reported by Blizzo | July 16th, 2008 @ 04:51 PM
My hobo app has a model called Template. When I start the server, the first page I load appears to try and initialize a Hobo::Dryml::Template object with this code:
template = Template.new(template_src, renderer_class, template_path)
For some reason, it gets an argument error (3 for 1), which appears to be coming from the initialize method on my Template class. I am able to fix it by changing it to:
template = Hobo::Dryml::Template.new(template_src, renderer_class, template_path)
I am unsure why it does this, and why it only happens the first time I try to load a page after a server restart.
Comments and changes to this ticket
-
Tom Locke July 29th, 2008 @ 09:59 AM
- State changed from new to resolved
Thanks - fixed in
dafaa4abdfa9bc2cae5cadddf5a1734ea6a5f301
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.