Displaying 1 result from an estimated 1 matches for "databaseseemstoodamnbusi".
Did you mean:
databaseseemstoodamnbusy
2006 Aug 16
1
Stale object errors
I''m running into a couple of stale object problems with methods that
at first glance appear fairly atomic - eg Message.update(params[:id],
{:body => params[:value]})
Of course, Rails has to instantiate the object & validate it before
it updates the database, so it''s not actually atomic, hence the
occasional staleobject error.
So I''ve been wondering about