Namespace
Methods
D
O
R
Attributes
[RW] raise_on_destroy
[RW] raise_on_save
[RW] touch_firm_on_validate
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 activerecord/test/models/company.rb, line 154
def self.destroyed_client_ids
  @destroyed_client_ids ||= Hash.new { |h,k| h[k] = [] }
end
Instance Public methods
overwrite_to_raise()
# File activerecord/test/models/company.rb, line 176
def overwrite_to_raise
end
rating?()
# File activerecord/test/models/company.rb, line 172
def rating?
  query_attribute :rating
end
ruby_type()

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

# File activerecord/test/models/company.rb, line 168
def ruby_type
  read_attribute :ruby_type
end