How to cancel rendering in Rails

Hello

I develop a small search application in Ruby on Rails. I wonder how to
cancel the rendering the view of that action method when the result is
found. I want to display only one alert box and keeps the existing
results untouched. Does anyone know to do this?

Thanks
Chamnap

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