diff options
Diffstat (limited to 'lib/warden/session_serializer.rb')
-rw-r--r-- | lib/warden/session_serializer.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/warden/session_serializer.rb b/lib/warden/session_serializer.rb deleted file mode 100644 index 81d7076..0000000 --- a/lib/warden/session_serializer.rb +++ /dev/null @@ -1,13 +0,0 @@ -module Warden - # Setup Session Serialization - class SessionSerializer - def serialize(record) - [record.class.name, record.id] - end - - def deserialize(keys) - klass, id = keys - klass.constantize.find(id) - end - end -end |