I am using single table inheritance in my application as follows:
class Company < ActiveRecord::Base
class Member < Company
class Applicant < Company
class Application < ActiveRecord::Base
I wish to use an include statement when I do a find on the Application
(ie. Application.find(:all, :include => [:member]). Is there a way to
accomplish this. I'm assuming it is not working because of the STI.
Thanks for your help.