Thanks for this, though this conditional is quite a bit to wrap my head around. Instead we could pull out the first part into an early return, something like this:

```
        return self.target if target.blank? && record.blank?
        if record.changed? || target != record
          transaction_if(save) do
```