You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wellrailed
I have a situation where the lock version of a record keeps going up
but the updated_at doesn't. I also have acts_as_audited on the model
but the audit table does not show any edits only the create.
This seems like an impossibility. Something is updating the table but
only changing the lock_version field and bypassing the model so the
audit doesn't register.
Can anybody think of what process might be doing that?
Michael Koziarski (nzkoz)
unread,
Dec 10, 2009, 7:41:45 PM12/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to WellRailed
Probably a side-effect of partial updates. You save the record and
lock-version changes, but no attributes were changed so it doesn't get
considered 'updated'?
Try turning them off and seeing if it addresses itself.