Skip to content

Multiple serializions and deserializations lead to duplications #107

Description

@onemanstartup

After second deserialization for example it doubles counts like for example there were 10 items Item.all.count #=> 10 and after deserialization it's 20. And every item is with the same ids.
Why it can be?

P.S. it seems there is no dup method like in activerecord to create shallow copy of object. Is it needed in library?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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