In a Rails controller, I'm setting a variable like this:
@users = User.find(:all, :joins => family)
This gives me all the users that have families. What I want is exactly the opposite: all the users that don't have families.
I tried adding:
:conditions=> {:family => nil}
... but got an error.
What's the proper way to do a right outer join?