Methods
D
R
Class Public methods
destroyed_client_ids()

Record destruction so we can test whether firm.clients.clear has is calling client.destroy, deleting from the database, or setting foreign keys to NULL.

# File rails/activerecord/test/fixtures/company.rb, line 60
def self.destroyed_client_ids
  @destroyed_client_ids ||= Hash.new { |h,k| h[k] = [] }
end
Instance Public methods
rating?()
# File rails/activerecord/test/fixtures/company.rb, line 76
def rating?
  query_attribute :rating
end
ruby_type()

Used to test that read and question methods are not generated for these attributes

# File rails/activerecord/test/fixtures/company.rb, line 72
def ruby_type
  read_attribute :ruby_type
end