Hello all,
I'm upgrading a website from Rails 1.8.6 to Rails 2.3, and am also
updating Haml in the process. I'm now running Rails 2.3 and Haml 2.1.0
on my test environment, and am getting the following error:
NoMethodError in Homepage#homepage
Showing app/views/homepage/homepage.html.haml where line # raised:
undefined method `call' for Haml::Template:Class
Extracted source (around line #):
The line number, as you can see, is absent, but I do know that Haml
crashes here:
/Library/Ruby/Gems/1.8/gems/haml-2.1.0/lib/haml/helpers/
action_view_mods.rb:14:in `render'
I suspect that Haml isn't loading correctly. Currently, I call
ActionView::Template.register_template_handler(:haml,
Haml::Template)
to set up Haml for my website.
Does anybody have an idea where I should look to solve this problem?
Regards,
Peter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---