# Finding and defeating a stale object

**URL:** <https://www.ruby-forum.com/t/finding-and-defeating-a-stale-object/91719>\
**Category:** Rails\
**Created:** [April 11, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/finding-and-defeating-a-stale-object/91719 "2007-04-11T20:57:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clemrock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@clemrock](https://www.ruby-forum.com/u/clemrock)\
**Post date:** [April 11, 2007, 8:57pm UTC](https://www.ruby-forum.com/t/finding-and-defeating-a-stale-object/91719/1 "2007-04-11T20:57:36Z")

</div>

Hello,

```
After a rather major update to our site, suddenly we are getting a 

```

large

# of “Attempted to update a stale object” errors.

I am quite new to rails and I understand the concept of optimistic  
locking  
but I don’t know how to track down and kill the multiple attempts at  
saving  
an object.

Can someone please give me some pointers?

Thanks for any help!

–  
View this message in context:  
[http://www.nabble.com/Finding-and-defeating-a-stale-object-tf3561375.html#a9946222](http://www.nabble.com/Finding-and-defeating-a-stale-object-tf3561375.html#a9946222)  
Sent from the RubyOnRails Users mailing list archive at [Nabble.com](http://Nabble.com).
