Class: DouguiUsers::UserSession

Inherits:
Authlogic::Session::Base
  • Object
show all
Defined in:
app/models/dougui_users/user_session.rb

Instance Method Summary collapse

Instance Method Details

#persisted?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/dougui_users/user_session.rb', line 7

def persisted?
  false
end

#to_keyObject



3
4
5
# File 'app/models/dougui_users/user_session.rb', line 3

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