Sha256: 101b31f9e30a5dcb74e082fcf3446eeb056d45f12edfaff848c64006d55c1cc0

Contents?: true

Size: 230 Bytes

Versions: 4

Compression:

Stored size: 230 Bytes

Contents

module Hatchy
  class BankAccount < ActiveRecord::Base
    belongs_to :user, class_name:'Hatchy::User'
    belongs_to :bank, class_name:'Hatchy::Bank'
    validates :user, :bank, :account, :account_digit, presence: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hatchy-0.0.8.pre app/models/hatchy/bank_account.rb
hatchy-0.0.7.pre app/models/hatchy/bank_account.rb
hatchy-0.0.6.pre app/models/hatchy/bank_account.rb
hatchy-0.0.5.pre app/models/hatchy/bank_account.rb