search for: bigfirms

Displaying 1 result from an estimated 1 matches for "bigfirms".

Did you mean: bigfirm
2005 Dec 29
9
Single Table Inheritance
Hi all, Quick question for STI. With the following setup: class Company < AR::Base; end class Firm < Company; end Why does Firm.find(:all) return all Companies, not just those that have type==''Firm''? -- Alex