I am trying do a where statement that only brings up results that have that particular association.
For example:
A company has many statuses through company statuses. They can have multiple statuses that can be gold, silver, and/or bronze, or none at all. I am trying to have my results only return the companies that have a status (gold, silver, and/or bronze) and not the ones have no statuses.
Your use case isn't very well articulated, but I think what you're wanting is to find Companies that have a status that matches a specified one:
That should give you the right query, assuming a Company
has_many :statuses.