From: Stefan Lang Date: 2008-08-06T21:05:36+09:00 Subject: Re: redirect_to vs render 2008/8/6 Palani Kumar : > Can any one explain me what is the difference between redirect_to and > render.I am newbie. i am bit confuesd about those two. redirect_to generates a response that, instead of delivering content to the browser, just tells it to request another url. render causes rails to generate a response whose content is produced by rendering one of your templates. So redirect_to is just telling the browser "hey, the stuff you're looking for is not here, it's over there!" while render is actually delivering content. It would be better to post Rails specific questions to rubyonrails-talk (http://groups.google.com/group/rubyonrails-talk). Stefan