<p>If I add an after_save callback to an ActiveRecord model, and on that callback I use update_attribute to change the object, the callback is called again, and so a 'stack overflow' occurs (hehe, couldn't resist).</p>

<p>Is it possible to avoid this behavior, maybe disabling the callback during it's execution? Or is there another approach?</p>

<p>Thanks!</p>

Check out how
update_attribute
is implemented.  Use the send method instead:
```
```
send(name.to_s + '=', value)
```
```