Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changes_only tracking of embedded resources #11

Open
rgraff opened this issue Sep 27, 2023 · 0 comments
Open

Allow changes_only tracking of embedded resources #11

rgraff opened this issue Sep 27, 2023 · 0 comments

Comments

@rgraff
Copy link
Contributor

rgraff commented Sep 27, 2023

Embedded resources always contain a complete snapshot of the new embedded resource. First it should abide by the change_tracking_mode and when set to :changes_only should only include the change. It should also be configurable to be overridden if you want changes only for the resource but snapshots for the embedded resource.

paper_trail do
  embedded_resources_change_tracking_mode :changes_only # defaults to the value of change_tracking_mode
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant