Thank you Nathan! I solved my problem. The fixed code now looks like this:
http://pastie.textmate.org/private/oj1btjmqtepnll0wypog I hope someone finds this useful. Vincenzo Acinapura On Oct 15, 6:06 pm, Nathan Weizenbaum <[email protected]> wrote: > There are two things going on here. First, you're using the deprecated #puts > method, which has been renamed to #haml_concat. If you check the console, > you'll see a warning message to this effect. Second, neither #puts nor > #haml_concat should be used with "=" - they both concatenate directly onto > the Haml document. In this case, you should probably just use "=" without > calling a method at all. > > On Thu, Oct 15, 2009 at 7:03 AM, Vincenzo Acinapura <[email protected]>wrote: > > > > > > > Hello, > > > I'm having lots of problem figuring out why my haml code does not work > > anymore if I try to update to 2.2.8. > > I think it has something to do with HAML Helpers and haml_concat, my > > error messages are always the same: > > > haml_concat outputs directly to the Haml template. Disregard its > > return value and use the - operator, or use capture_haml to get the > > value as a String. > > > You can find the code here: > >http://pastie.textmate.org/private/wx3e8pwusevil1aaaipzug > > > I spent several ours trying to find the cause of this. Could someone > > please help me? > > > Thank you, > > > Vincenzo Acinapura --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
