2009-05-22 16:14:07 +02:00
|
|
|
class UserSession < Authlogic::Session::Base
|
|
|
|
# configuration here, see documentation for sub modules of Authlogic::Session
|
2010-11-17 17:22:01 +01:00
|
|
|
def to_key
|
|
|
|
new_record? ? nil : [ self.send(self.class.primary_key) ]
|
|
|
|
end
|
|
|
|
end
|