Hi, I have a many-to-many relationship between ''dishes'' and ''ingredients''. Now how can I most efficiently search for dishes that have all of a specific set of ingredients. Say, if I have two ingredients, ''bananas'' and ''walnuts'', how can I find all dishes that contain bananas and walnuts (and maybe others)? Thanks for any hint! Ingo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---