# difference between redirect\_to and render :action

**URL:** <https://discuss.rubyonrails.org/t/difference-between-redirect-to-and-render-action/2708>\
**Category:** rubyonrails-talk\
**Created:** [October 6, 2006, 3:09pm UTC](https://discuss.rubyonrails.org/t/difference-between-redirect-to-and-render-action/2708 "2006-10-06T15:09:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxim\_Kulkin](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@Maxim\_Kulkin](https://discuss.rubyonrails.org/u/Maxim_Kulkin)\
**Post date:** [October 6, 2006, 3:09pm UTC](https://discuss.rubyonrails.org/t/difference-between-redirect-to-and-render-action/2708/1 "2006-10-06T15:09:09Z")

</div>

Redirect to produces a HTTP response which instructs browser to open another page. This means that context is lost during redirect (e.g. parameters posted and such). render :action just takes template with action name and renders it. It was discussed here that name of :action parameter is a bit confusing.
