Hi all,

We are running haml 2.0.4 in our production environment and can't
upgrade at the moment to a higher version. Our apache error_log file
is being eaten alive with puts deprecation warnings so we figured it's
time to swap all those out for haml_concat. We only have puts calls in
our helpers and the swap just doesn't seem to work.

If I take a helper method like this:
def printX
   puts "x"
end

and replace puts with haml_concat like this:
def printX
   haml_concat "x"
end

Then I get the error: undefined method `haml_concat' for
#<ActionView::Base:0x4073d30>

I tried to call printX with both "-printX" and "=printX"... no
difference there.

Any idea what that means? Do I have to use it in a haml_tag block?
Thank you so much!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to