I have the following query method in my ActiveRecord model:
def self.tagged_with( string ) array = string.split(\',\').map{ |s| s.lstrip } select(\'disti
LOL the solution for this is not a simple task--I thought through it from a SQL standpoint and it was UGLY. I figured somebody else has to have tried this so I did some searching and found this post that should help you:
HABTM finds with "AND" joins, NOT "OR"