Class: AssociatedTransportationRoute
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AssociatedTransportationRoute
- Defined in:
- app/models/associated_transportation_route.rb
Overview
EXAMPLE USAGE of has_many_polymorphic with AssociatedWorkEffort TransportationRoute.class_eval do
has_many_polymorphic :associated_records,
:through => :associated_transportation_routes,
:models => [:shipment_items, :shipments]
end