Quiz: Lesson 3
1 What's the difference between rendering and redirecting? What's the impact with regards to instance variables, view templates?
Rendering displays the view to be rendered on the same action, instance variables set up will be available in this view. Redirecting makes a new http request and will hit another controller action forgetting any instance variables.
2 If I need to display a message on the view template, and I'm redirecting, what's the easiest way to accomplish this?
To use the flash.