lib/devise/models/trackable.rb in devise-1.4.2 vs lib/devise/models/trackable.rb in devise-1.4.3
- old
+ new
@@ -6,10 +6,10 @@
#
# * sign_in_count - Increased every time a sign in is made (by form, openid, oauth)
# * current_sign_in_at - A tiemstamp updated when the user signs in
# * last_sign_in_at - Holds the timestamp of the previous sign in
# * current_sign_in_ip - The remote ip updated when the user sign in
- # * last_sign_in_at - Holds the remote ip of the previous sign in
+ # * last_sign_in_ip - Holds the remote ip of the previous sign in
#
module Trackable
def update_tracked_fields!(request)
old_current, new_current = self.current_sign_in_at, Time.now
self.last_sign_in_at = old_current || new_current