NoamB/sorcery — pull request #398 by RyanonRails (2013-01-21 16:21:16+00:00)
Title: turn session into hash before reset due to both sessions being reset (old and new)

We found that both the existing session and the new session get reset when duping. By converting it to a hash before resetting we don't run into the same problem.

Hats off to @mvandenbeuken for finding the bug & the fix.