Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Support track_as_records option #20

Merged
merged 3 commits into from
Dec 29, 2019
Merged

Support track_as_records option #20

merged 3 commits into from
Dec 29, 2019

Conversation

st0012
Copy link
Owner

@st0012 st0012 commented Dec 29, 2019

This PR adds track_as_records option. If the option is set to true and the target is an ActiveRecord::Base instance, the device will track objects that have the same primary key.

It also fixes the with_trace_to option.

Closes #17

@st0012 st0012 added the Feature label Dec 29, 2019
@st0012 st0012 added this to the v0.4.7 milestone Dec 29, 2019
@st0012 st0012 self-assigned this Dec 29, 2019
@st0012 st0012 merged commit bed848f into master Dec 29, 2019
@st0012 st0012 deleted the issue-17 branch December 29, 2019 06:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support tracking ActiveRecord::Base instances by their ids
1 participant