From: matt@... (matt neuburg) Date: 2009-03-21T04:17:17+09:00 Subject: how to know where ERB stopped? Let's say I've got an ERB template: text1 <%= thing1() %> text2 <%= thing2() %> text3 <%= thing3() %> text4 But let's say we get an error (exception) during the execution of thing2(). How can I find out that this is where the error occurred? I don't want to instrument thing1, thing2, thing3, etc; I'm hoping I can just find out what ERB was doing when we errored out. Thx - m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com