not sure if it’s a bug but or just me so I’m posting it here first
item has a many_many relationship with order
item belongs_to lead
$order->with(‘items’)->items //does not work
The latter throws an error: Relation "item" is not defined in active record class "Order".