Skip to content

Error when accessing changesets #3

@ch000

Description

@ch000

When trying to access a changeset of a version i get the error:

NoMethodError: private method object_changes_deserialized' called for #PaperTrail::Version:0x000000010f24a008
Did you mean? object_changes`

my config/paper_trail.rb looks like this. The error appears as soon as i configure the object_changes_adapter and try to access a changeset.

require "paper_trail_hashdiff"
PaperTrail.config.object_changes_adapter = PaperTrailHashDiff.new(only_objects: true)

I got no further paper_trail configurations.

I'm using the current version of paper_trail (12.1) but the object_changes_deserialized seems to be a private method in older versions as well. So i'm not sure if i just missed something, or if some other dependency changed something. Do you've got any ideas?

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