Methods
C
D
O
Class Public methods
destroyed_account_ids()
# File activerecord/test/models/company.rb, line 199
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 204
def self.open
  where('firm_name = ?', '37signals')
end
Instance Protected methods
check_empty_credit_limit()
# File activerecord/test/models/company.rb, line 219
def check_empty_credit_limit
  errors.add_on_empty "credit_limit"
end