app/models/user.rb
# Virtual attribute for the unencrypted password
Virtual attribute for the unencrypted password
Virtual attribute for the unencrypted password
def remember_me_until(time)
      self.remember_token_expires_at = time
      self.remember_token            = encrypt("#{email}–#{remember_token_expires_at}")
      save(false)
   end
def remember_me_until ( time ) self . remember_token_expires_at = time self . remember_token = encrypt ( "#{email}–#{remember_token_expires_at}") save ( false ) end
Virtual attribute for the unencrypted password
Virtual attribute for the unencrypted password
time