Class: DouguiUsers::UserSession
- Inherits:
-
Authlogic::Session::Base
- Object
- Authlogic::Session::Base
- DouguiUsers::UserSession
- Defined in:
- app/models/dougui_users/user_session.rb
Instance Method Summary collapse
Instance Method Details
#persisted? ⇒ Boolean
7 8 9 |
# File 'app/models/dougui_users/user_session.rb', line 7 def persisted? false end |
#to_key ⇒ Object
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 |