class Client
Attributes
raise_on_destroy[RW]
raise_on_save[RW]
Public Class Methods
destroyed_client_ids()
click to toggle source
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 155 def self.destroyed_client_ids @destroyed_client_ids ||= Hash.new { |h, k| h[k] = [] } end
Public Instance Methods
overwrite_to_raise()
click to toggle source
# File activerecord/test/models/company.rb, line 173 def overwrite_to_raise end
rating?()
click to toggle source
Used to test that read and question methods are not generated for these attributes
# File activerecord/test/models/company.rb, line 169 def rating? query_attribute :rating end