I created an index with person_id and club_id but I can't figure out
how to properly access it (doesn't show up in the find_by... lists)
Can someone provide me a sample find statement to best use this index
You don't need to do anything explicitly - just find :all, :conditions
=> ... will use the index if needed (you may have been looking for
find_by_xxx_and_yyy though)
The index on person_id is usually superfluous - when you have a
multicolumn index then any left prefix of that index is also an index
ie the index on [:person_id, :club_id] can be used as an index on just
person_id