Hi,

Say I have `Artist` and `Album` models as in the doc, and they would be
connected through a join table :albums_artists, and `many_to_many`
associations.

To filter artists with a specific album, I use `where(albums:
Album.where(id: album_id))`.

How do I write the dataset of Artists with no existing Album?

Thanks,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/CAAkfp_RBoBL992T2J9Py-ZODnKZLa2eAYdf7bcEhPWG5h74z3Q%40mail.gmail.com.

Reply via email to