mongoid_optimistic_locking icon indicating copy to clipboard operation
mongoid_optimistic_locking copied to clipboard

Lock Version not incrementing

Open nikhilbansal opened this issue 8 years ago • 7 comments

person = Person.create!(:name => 'xyz') - No validations in the model Here the _lock_version is 1 person.save Here the _lock_version is still 1

Am I missing something ? or is this a bug. Using mongo 2.4.13 with mongoid 3

nikhilbansal avatar Dec 12 '15 15:12 nikhilbansal