Can you exit a controller without rendering?

I need to do this often just for debugging purposes. Is it possible? or
do i HAVE to render a view?

i would like to do something like

myvar = ‘hello’
puts myvar
exit

but that just gives me an error everytime.

any advice?

Mondo Singa wrote:

I need to do this often just for debugging purposes. Is it possible? or
do i HAVE to render a view?

render :nothing => true


Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!

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