Erros in Haml templates - both syntax and not - should bubble up to the toplevel. Last time I ran a diagnostic they did so, but it's possible new versions of things might have changed that. Which Rails and Haml versions are you using?
Serenity wrote: > Hello, > > I'm fairly new to Haml. I've run into a number of situations where a > render of a haml template simply generates absolutely nothing. In > every case so far, it has turned out that the haml template was > calling a helper that had a ruby error in it. > > But the problem is that this happens completely silently. I see > absolutely nothing on the console or in the web browser window to > indicate that anything went wrong, much less what - except that what > was supposed to be rendered is missing. > > Is Haml supposed to emit some kind of error message when a template > fails? It's extremely slow to have to take an entire template, one > line and one helper call at a time, and assess whether that is where > it is failing. > > Thanks > Avram > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
