Fixe a bug in authlogic.
See https://github.com/binarylogic/authlogic/issues/issue/101
This commit is contained in:
parent
63c0ae35c0
commit
4c3dbcecb6
|
@ -1,3 +1,6 @@
|
||||||
class UserSession < Authlogic::Session::Base
|
class UserSession < Authlogic::Session::Base
|
||||||
# configuration here, see documentation for sub modules of Authlogic::Session
|
# configuration here, see documentation for sub modules of Authlogic::Session
|
||||||
end
|
def to_key
|
||||||
|
new_record? ? nil : [ self.send(self.class.primary_key) ]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in a new issue