mercredi 8 juillet 2015

How to completely stop the rails action from responding any kind of HTTP status?

RAILS 3.2.13. JRUBY 1.7.15. RUBY 1.9.3 as interpreter

Is there a way to kill a Rails action from responding at all?

i.e.

def index
  # kill method, do not send any response at all. not even 500 error
end

Thank you all for your help.

Aucun commentaire:

Enregistrer un commentaire