Quoting Maarten Porters <[EMAIL PROTECTED]>:
> 
> Hi,
> 
> I just noticed that updated_on is not working anymore on any of my
> models. I don't know what happened :( . Hower, when I create a new
> record, created_on is still working.
> 
> Any ideas what could be the cause?
> 

Did you just update to Rails 2.1?  Only changed attributes are written on
save.  If no attributes are changed, then nothing is written to the database,
not even updated_on/updated_at.  Of course, setting updated_at = Time.now will
force a change (not sure what the equivalent is for updated_on).

HTH,
  Jeffrey

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to