I'm having a senior moment. I've done this before but I can't remember how.
Two active record models,
Foo belongs_to Bar
Bar has_many Foos
I want to find all Bars that have at least one Foo, is it:
Bar.all(:include => :foos, :conditions => "foo.id IS NOT NULL')
or something else?