Hi, I would like to know the rails way to do the following: If I have an Item model which has_many :tags, :through => item_tags how can I find all items which are tagged with both a "ruby" and "rails" tag. Also I would like to find all items tagged with either "ruby" or "rails". What is the best way to do these queries? Thanks, Ryan --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---