Does anyone know a way to determine if a Rails association has been eager loaded?
My situation: I have a result set where sometimes one of the associations is eager l
association_cached? might be a good fit:
item.association_cached?(:shipping_infos)