What is the output of "haml --version"? Since you're finding this difficult to reproduce, I imagine I will as well. Could you create a minimal Rails app that demonstrates the problem and send it to me?
On Wed, Jun 10, 2009 at 8:21 AM, Ben Fyvie <[email protected]>wrote: > > We have a very very simple problem that I am hoping somebody can > resolve. > > We are running the following: > > Frozen Rails Gem 2.1.2 > Frozen Haml Gem 2.1.0 > Ruby 1.8.6 patch level 287 > > Our problem is very simple. The following code in haml should always > raise an exception: > > -p my_undefined_variable > -p my_undefined_variable.class > > > This is true in our production and staging environments (hosted at > EngineYard); however, on our local dev machines we get output of nil > and NilClass with no exceptions being raised. If we change from haml > to erb the exception is raised as expected. We have a windows and a > mac dev machine, neither of which are able to get the exception > raised. > > Any ideas? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
