Turn to Your Left at the End of the Sky

Difference between ‘render’ and ‘redirect_to’

redirect_to :action => ‘list’ forces the clients browser to request the list action.

render :action => ‘list’ will render the template list.rhtml without calling or redirecting to the list action.

February 22, 2009 Posted by | Ruby on Rails | Leave a comment