fix(direct_debit_detail): use class_name string value
This commit is contained in:
parent
eb7c11d849
commit
9f6ea91224
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@ class DirectDebitDetail < ApplicationRecord
|
|||
|
||||
has_many :donations
|
||||
has_many :charges
|
||||
belongs_to :holder, class_name: Supporter
|
||||
belongs_to :holder, class_name: Supporter.class_name
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue