I have the following models:
Account > has_many Companies
Company > has_and_belongs_to_many Accounts
Project > has_and_belongs_to_many Companies
I want to get all the companies that are assigned to a given account
but are not assigned to a given company, do I have to use a custom SQL
find in the model or is there an easier way?