Commit graph

1 commit

Author SHA1 Message Date
Tom Hughes
90048d87d6 Ignore exceptions clearing sessions
Rails 3 sessions can't be loaded by rails 4 but reset_session also
fails because it tries to clear the session, which tries to load it
in to clear it.

So monkey patch the session to ignore exceptions during clear so
that out normal reset-on-exception logic will reset the session.
2013-09-22 10:33:31 +01:00