Hi,
I am using single table inheritance in my application as follows:
class Company < ActiveRecord::Base ... end
class Member < Company ... end
class Applicant < Company ... end
class Application < ActiveRecord::Base has_one :applicant has_one :member ... end
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.