I have a badges table with a has_many relation to a user_badges table.
When I fetch the data from the badges table, I'd like to know if a relation exist for each of the record, i.e. is the badge used by a user? I don't need the user_badges data and I don't want to retrieve it all because that would amount to a huge dataset.