Using Ruby on Rails I want a confirmation page before creating an ActiveRecord object. The user will see a preview of the item they are creating before submitting and the object being saved in the database
A common pattern;
- User visits /entry/new
- User enters details and clicks submit
- User is redirected to /entry/confirm which displays the entry and clicks submit or edit to correct mistakes
- Object is saved
How would you implement it?