houdini/app/models/direct_debit_detail.rb

7 lines
212 B
Ruby

class DirectDebitDetail < ActiveRecord::Base
attr_accessible :iban, :account_holder_name, :bic, :supporter_id, :holder
has_many :donations
has_many :charges
belongs_to :holder, class_name: Supporter
end