ActiveRecord in memory only object for wizard?


#1

I have a wizard with multiple screens where I essentially populate an
ActiveRecord object. However I DO NOT want to save it to the database
until the last screen and the user clicks save. Meanwhile though, I want
to get access to the object at anytime via the wizard.

So should I simply create the ActiveRecord with the method “new” and
push it into the session like:

session[:object] = my_activerecord_object ?

thanks