records = Market .joins(\'LEFT JOIN fruits f on f.id = markets.recruiter_id\') .joins(\'LEFT JOIN sellers s on s.id = markets.seller_id\')