Skip to content

Embed documents #81

Open
Open
@luckyraul

Description

@luckyraul

I am trying to use your project with Embed documents

If I update embed document inside parent with with_lock it is not updated while saving parent
Parent embeds_many children. I take first of array and modify it with parent option

#self.with_lock do
child.status = 2
parent.option = 4
parent.save!
#end

I works with comment, but does not work without

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions