On 28 Jan 2009, at 10:30, Ricky <
ri...@rickyrobinson.id.au> wrote:
>
> I was wondering what the purpose of wrapping a redirect_to in a
> format.html block is. I get why you'd want to do this with a render,
> but if you're redirecting the browser to another URL, what's the
> point? As I understand it, when redirect_to is called, Rails sends a
> 302 back to the browser,
It might not be a browser. Eg with a create action you would typically