Break out of a controller

Is there a nice way to break out of the execution of a controller if you
find a nil object?

www.blogsaic.com
search, post, blog

On 9/19/06, Dion H. [email protected] wrote:

Is there a nice way to break out of the execution of a controller if you
find a nil object?

What do you want the behavior to be in this case?


The best way to implement code quickly is to implement less of it.
(http://www.xprogramming.com/Practices/PracNotNeed.html) – Ron
Jeffries

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs