Skip to content

paper_trail restore relations #5

@nicolasfranck

Description

@nicolasfranck

Thanks for this great module!

The newest paper_trail makes it possible to restore relations (has_one and has_many),
but you need to supply the options ":has_many => true, :has_one => true" to the method
"reify" to make this possible:

https://github.com/airblade/paper_trail#associations

This to ensure backward compatibility, and not to confuse/enrage simple users.

Would it be interesting to add an extra button to restore also these associations?
For example "rollback (including assocations)"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions