summaryrefslogtreecommitdiff
path: root/lib/warden/session_serializer.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-08 10:23:05 +0200
committerAzul <azul@leap.se>2014-07-15 12:12:51 +0200
commitff697316c85f9edc5a568d66f6c92ff6d13862cc (patch)
treea846e46e0a85620f3c95408c59c3e803b4d187c5 /lib/warden/session_serializer.rb
parentdc2006af6a571bdebde5647f5b36751f013c772a (diff)
rename warden extension to patch the original
the Warden::SessionSerializer was not getting loaded at all because we had a file by the same name. We want it to get loaded and be patched instead.
Diffstat (limited to 'lib/warden/session_serializer.rb')
-rw-r--r--lib/warden/session_serializer.rb13
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