[Rails] What is difference between render & redirect methods?

Norman Timmler
Wed, 22 Mar 2006 10:37:10 -0000

Am Mittwoch, den 22.03.2006, 02:21 -0800 schrieb Tom
Mornini:
> On Mar 22, 2006, at 1:53 AM, Prashant Tiwari wrote:
> > 2) render :action => ''list''
>
> This causes a ''server side'' redirect, and causes
> the other action to be executed without the browser
> knowing anything about the change.

That''s wrong. The action never gets called. Only the template for that
action is rendered.

http://api.rubyonrails.com/classes/ActionController/Base.html#M000178

--
Norman Timmler