fix(direct_debit_detail): use class_name string value

This commit is contained in:
Luis Castro 2019-07-20 15:10:32 +02:00
parent eb7c11d849
commit 9f6ea91224
No known key found for this signature in database
GPG key ID: 0A8F33D4C4E27639

View file

@ -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