Condition for find based on a related model?

I recently refactored a table/model to split off some of the fields into
a child table. Initially there was only a single data set related to the
model but now there may be more than one…

My problem now is that I was using a filtered find to pull a subset of
the data based on the value of some of the moved fields. Is there a way
to specify the find conditions so that they work through the has_many
relationship?

I think I may be confusing myself :slight_smile:

Thanks much for any assistance!

Cheers,
Tim

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs