Trapping custom exceptions in merb 0.5.0
Fernand Galiana
fernand.galiana at gmail.com
Thu Dec 20 14:25:21 EST 2007
Hi Luke,
Yes I had restarted merb but same results.
I think I've found the problem. Perhaps I have a bit of a contrived
example..
Say I have the following page index.rhtml.erb with
<h1>Hello World</h1>
<script src="/fred/<%=@key%>.js" language="javascript"
type="text/javascript"></script>
That is it delegates to the fred controller to gen a chunck of
javascript but if the controller
action 'fred' throws and exception, this exception won't surface back
the browser.
Is there a way to solve this with merb ?
Thanks,
Fernand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/20071220/18b6718f/attachment.html
More information about the Merb-devel
mailing list