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?
--
Posted via http://www.ruby-forum.com/.