Hey Heri -
as per http://api.rubyonrails.com/classes/ActionController/
Base.html#M000206
you can render nothing as:
render :nothing => true
cheers,J
On 1-Nov-06, at 10:47 AM, Heri R> wrote:
> hi all,
> i have this ajax call that most of the time will be an error (it
> scans websites and most of the time, the url is not valid, with
> Net::HTTP.get URI.parse(url). I have also other places with similar
> unexpected behavior
>
> so how do i stop and disable page rendering if there is a rails or
> ruby error
> thanks
>
>
>
> --
> Heri R.
> http://sprinj.com
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---