# Begin/rescue not working?

**URL:** <https://www.ruby-forum.com/t/begin-rescue-not-working/118832>\
**Category:** Rails\
**Created:** [October 31, 2007, 2:40pm UTC](https://www.ruby-forum.com/t/begin-rescue-not-working/118832 "2007-10-31T14:40:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jfoxny](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/a6a055/32.png) [@jfoxny](https://www.ruby-forum.com/u/jfoxny)\
**Post date:** [October 31, 2007, 3:22pm UTC](https://www.ruby-forum.com/t/begin-rescue-not-working/118832/5 "2007-10-31T15:22:13Z")

</div>

On 31 Oct 2007, at 14:07, Jason F. wrote:

> one, so I’m still confused as to why this case required a return in  
> it.

This has nothing to do with begin/rescue. It has everything to do with  
the fact that you should redirect or render precisely once per action,  
whereas in you original code you would end up doing a redirect in the  
rescue block and then again if bit below.

Fred

---

_[View the full topic](https://www.ruby-forum.com/t/begin-rescue-not-working/118832)._
