Personally, no. I'm just against exceptions occurring as an integral part of the core of your application. Catching a save! exception is great for errors, but you shouldn't be throwing exceptions unless something goes wrong.
<br><br><div><span class="gmail_quote">On 24/07/07, <b class="gmail_sendername">Martin Sadler</b> <<a href="mailto:mtsbtt@googlemail.com">mtsbtt@googlemail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So you are against raising exceptions in your controller actions? e.g.<br><br> @person.save!<br><br><br>On 24 Jul 2007, at 12:51, Tom Ward wrote:<br><br>> On 24/07/07, Martin Sadler <<a href="mailto:mtsbtt@googlemail.com">
mtsbtt@googlemail.com</a>> wrote:<br>><br>>> "In micro-benchmarks that involve raising exceptions, we are<br>>> slower than<br>>> Ruby 1.8.6;<br>>> but if control flow on your program's critical path involves raising
<br>>> exceptions you may want to rethink your design :)"<br>><br>> Not sure I can disagree with that really.<br>><br>> Tom<br>> _______________________________________________<br>> Chat mailing list
<br>> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br><br>_______________________________________________
<br>Chat mailing list<br><a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br><a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br></blockquote></div>
<br>