Update_attributes working, or not? I can't tell

I have a basic login system implemented. I’ve recently added a
timestamp field “last_activity_time”. During the login process, if I
successfully get back a user object, I do this:

user.update_attribute(:last_activity_time, Time.now())

It appears to be successful given the breadcrumbs I’ve strewn around it,
but nothing gets written out to my table. In development.log I see
this:

Updating record
{:last_activity_time=>Mon Jun 26 11:19:00 EDT 2006}
Upated record

(Where Updating/Upated… are my breadcrumbs).

I’m wondering, are the underscores screwing it up? It’s not throwing
any errors, so where exactly does it think that it’s writing out the
data?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs