democracyworks / hat-trick

Hat Trick - Rails wizards done right
MIT License
5 stars 0 forks source link

Skipped status of a step should persist #7

Closed cap10morgan closed 12 years ago

cap10morgan commented 12 years ago

The step instances are re-created on each request, since they aren't in the database. So we should persist their skipped status somehow. Should think about moving this into redis at some point (although that's a big dependency to tack on). Right now we're using an array in the session, which is not ideal.

cap10morgan commented 12 years ago

Fixed by 2defac07907624f2cf86483f7e13b506dff47c02.

cap10morgan commented 12 years ago

This ended up being a bit of a can of worms, so I reverted it. Should probably revisit what's going on here at some point. It's using a fake session object quite a bit (every time?) because the controller is nil. Very weird.