Revert "Fix a few instances of passing the user object rather than the user id to ActiveRecord created_by or updated_by fields."

This reverts commit 7d80abfd994298b0c61a7cf7de8647193d54e351.