Active Record automatically userstamps create and update operations if the table has fields named created_by or updated_by.
Michael Balsiger
k.A.