I have a
has_many :bars, :through => :foo_bars
What’s the simplest way to find all Foos that don’t have any Bars?
I know I could go through some convoluted process like finding all Foo
then finding all foo_ids from the foo_bars table and subtracting those,
seems like there should be a simple query to do this. Any thoughts?
Thanks in advance