Partials: disabling rendering if error

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

so how do i stop and disable page rendering if there is a rails or ruby

Heri R.

Hey Heri -

as per

you can render nothing as:

render :nothing => true


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