Finally figured out something that worked.
@club = Club.find(params[:club_id])
ids = @club.members.connection.select_values('SELECT person_id FROM
members')
@people = Person.all(:order => 'name_sort',
:conditions => ["id NOT IN (?)",
ids])
Any comments or better methods.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.