An ActiveRecord callback that is executed after validating an object but before writing it to the database.