Skip to content

Commit

Permalink
DigixGlobal#70 removed excess association from watching_transaction m…
Browse files Browse the repository at this point in the history
…odel
  • Loading branch information
bshevchenko committed Sep 9, 2019
1 parent 3750d82 commit aa11d86
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/watching_transaction.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class WatchingTransaction < ApplicationRecord

belongs_to :user
has_many :transactions, class_name: 'WatchingTransaction', foreign_key: 'group_id'
belongs_to :original, class_name: 'WatchingTransaction', foreign_key: 'group_id', optional: true

validates :transaction_object,
presence: true
Expand Down

0 comments on commit aa11d86

Please sign in to comment.