houdini/app/models/direct_debit_detail.rb
Luis Castro df29d446ae
chore(models): comment out attr_accessible
Needs to be changed to strong params in controllers of each model.
2019-08-02 19:07:28 +02:00

8 lines
313 B
Ruby

# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
class DirectDebitDetail < ApplicationRecord
# attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder
has_many :donations
has_many :charges
belongs_to :holder, class_name: Supporter.class_name
end