I have a model like this:
class ContainerCharge < ShipmentCharge
class Container < ActiveRecord::Base
class HandlingContainerCharge < ContainerCharge
class ShippingContainerCharge < ContainerCharge
#Please assume here that this container has many Handling and Shipping
container.container_charges # <- doesn't return the handling and
shipping charges, only instances of the the super class
I would like the association to return all the container charges which
should be the right thing to do....
Anyone knows how to do this?