Methods
C
D
O
Class Public methods
destroyed_account_ids()
# File activerecord/test/models/company.rb, line 201
def self.destroyed_account_ids
  @destroyed_account_ids ||= Hash.new { |h,k| h[k] = [] }
end
open()

Test private kernel method through collection proxy using has_many.

# File activerecord/test/models/company.rb, line 206
def self.open
  where('firm_name = ?', '37signals')
end
Instance Protected methods
check_empty_credit_limit()
# File activerecord/test/models/company.rb, line 221
def check_empty_credit_limit
  errors.add("credit_limit", :blank) if credit_limit.blank?
end