Sha256: ab56571afdc63836830a8d9a72829496b385078c75e59e1b642cc57393b30c71

Contents?: true

Size: 157 Bytes

Versions: 30

Compression:

Stored size: 157 Bytes

Contents

class Bank < ActiveRecord::Base
  has_many :bank_accounts

  has_vcards

  def to_s
    [vcard.full_name, vcard.locality].compact.join(', ')      
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
has_accounts-0.16.0 app/models/bank.rb
has_accounts-0.15.2 app/models/bank.rb
has_accounts-0.15.1 app/models/bank.rb
has_accounts-0.15.0 app/models/bank.rb
has_accounts-0.14.0 app/models/bank.rb
has_accounts-0.13.0 app/models/bank.rb
has_accounts-0.12.0 app/models/bank.rb
has_accounts-0.11.0 app/models/bank.rb
has_accounts-0.10.1 app/models/bank.rb
has_accounts-0.10.0 app/models/bank.rb
has_accounts-0.9.2 app/models/bank.rb
has_accounts-0.9.1 app/models/bank.rb
has_accounts-0.9.0 app/models/bank.rb
has_accounts-0.8.3 app/models/bank.rb
has_accounts-0.8.2 app/models/bank.rb
has_accounts-0.8.1 app/models/bank.rb
has_accounts-0.8.0 app/models/bank.rb
has_accounts-0.7.1 app/models/bank.rb
has_accounts-0.7.0 app/models/bank.rb
has_accounts-0.6.1 app/models/bank.rb