# Finding a model based on association with another model

**URL:** <https://www.ruby-forum.com/t/finding-a-model-based-on-association-with-another-model/131090>\
**Category:** Rails\
**Created:** [March 5, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/finding-a-model-based-on-association-with-another-model/131090 "2008-03-05T22:39:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjkiesch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/bc79bd/32.png) [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Post date:** [March 5, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/finding-a-model-based-on-association-with-another-model/131090/1 "2008-03-05T22:39:47Z")

</div>

i have two tables/models:

jobs and job\_tags

job\_tags belongs to jobs  
and jobs has\_many job\_tags

i just want to find all of the jobs that do not have a job\_tag  
associated with it. this might be more of a mysql question, but i’d  
appreciate any help. thanks.
