search for: update_last_login_tim

Displaying 1 result from an estimated 1 matches for "update_last_login_tim".

Did you mean: update_last_login_time
2006 Jun 27
1
user.save now workie, but user.update_attributes does
In my User model, I had this: def update_last_login_time self.last_login = Time.now self.save end But last_login was not being set. When I changed it to this it worked: self.update_attribute( :last_login, Time.now ) Any ideas why? ~S