add paper trail

This commit is contained in:
João Geonizeli
2021-08-17 20:53:22 -03:00
parent f8cd635b8b
commit a0ddc6cd2e
10 changed files with 84 additions and 7 deletions

View File

@@ -22,6 +22,8 @@
# fk_rails_... (user_id => users.id)
#
class Balance < ApplicationRecord
include Trackable
belongs_to :user
belongs_to :currency