I have an Order model which has_many Shipments and has_many
Creditcards. In my controller I’m trying to process various search
parameters so that I can search on a customer name. I’d like to match
on the name in any of the shipments or creditcards.
I’m just not sure how to structure the conditions so that the Address
table is included since Address belongs_to addressable, :polymorphic