jeremyevans/sequel — pull request #840 by danielribeiro (2014-07-11 00:07:32+00:00)
Title: Optmistic locking error

Hi,

Just a small change, so that we can differentiate at the type level when this happens due to optimistic locking issue, rather than from the other occurrences of NoExistingObject, as documented on:

https://github.com/jeremyevans/sequel/blob/7acaef623fd64d6938790336b7884d7954f51373/doc/release_notes/3.33.0.txt#L94

and

https://github.com/jeremyevans/sequel/blob/1ee82f4e694188f780689bdb880d4d0f05dcd57e/spec/integration/model_test.rb#L166

Cheers,
- Daniel