Method: Authlogic::Session::Foundation::InstanceMethods#to_key

Defined in:
lib/authlogic/session/foundation.rb

#to_keyObject



66
67
68
# File 'lib/authlogic/session/foundation.rb', line 66

def to_key
  new_record? ? nil : [ self.send(self.class.primary_key) ]
end