I have user, preferred_locations and user_favourite_locations models in my project,

class User < ApplicationRecord
    has_many :preferred_locations, through: :user_favourite_locations
    has_many :user_favourite_locations
    has_paper_trail class_name: 'UserVersion',
                  only: [ :fb_uid, :favourite_location_ids ],
                  meta: {business_id: Proc.new{|o| o.business_id }},
                  on: [:update, :destroy]
end

1 Answers

0
Sandip Bhowmick On

This gem do not support the associated object data log features