> > I wonder if some other method would work better?  redirect_to :back
> > sounds so un-english.

It makes more sense when you read the documentation:

:back: Back to the page that issued the request. Useful for forms that
are triggered from multiple places. Short-hand for
redirect_to(request.env["HTTP_REFERER"])

The key part is that last sentence. :back is an alias, a symlink, a
stand-in for request.env["HTTP_REFERER"].

I was even hesitant bringing that in because of the feature loops it leads to.

I don't think we should go further in core. I'd much welcome a plugin,
though. For people who needs advanced redirecting to back.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to