STI Troubles in a has_many : belongs_to relationship.

If you want to find all pies, then 'PieLover.find(:first).pies.count'

If you want just CherryPies, then PieLover has to 'has_many :cherry_pies'.

_Kevin