Skip to content

Lock Version not incrementing #15

@nikhilbansal

Description

@nikhilbansal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions