company_user belongs to user, and belongs to company. Then, document
belongs to company.
I want to take a user, and grab all of the companies he belongs to, and
also grab all of the documents of those companies.
So I want to take user_id, grab the corrosponding company_users, then
from there use the company_users’ company_id to grab the companies,
then from there use the company_id in documents to match up with those
companies and grab them.
How do I do that?
Thanks for your time!