Prevent infinite loop when updating attributes within after_commit, :on => :create

I create an infinite callback loop when I need to update an attribute during an after_commit, :on => :create. It only occurs if I need to update an attribute of the object during this callback, ...