Methods
Class Public methods
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.
Source: show
# 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
Source: show
# File rails/activerecord/test/fixtures/company.rb, line 76 def rating? query_attribute :rating end
Used to test that read and question methods are not generated for these attributes
Source: show
# File rails/activerecord/test/fixtures/company.rb, line 72 def ruby_type read_attribute :ruby_type end