#57 ✓resolved
Blizzo

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

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.

New-ticket Create new ticket

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

Pages