On Nov 20, 7:27 am, candlerb <[email protected]> wrote:
> I thought I had seen somewhere that there was a way to terminate a
> request early, but I could be thinking of a different framework. In
> Sinatra you can 'throw :halt, response'.

If you do want those semantics (perhaps because you're inside one or
more helper methods where it's not so convenient to just render and
return) then it should be easy enough to recreate them with an around
filter.

Fred

--

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=.


Reply via email to