How do you do this in mysql or rails
问题 Say you have a posts table and a tags table, and both are related by a post_tags table. so posts has id/subject/body columns tags has id/name post_tags has id/post_id/tag_id in rails terminology, I have a Post Model that has many Tags through AssetTags. I'm trying to query for a post that has 2 specific tags. so if there is a rails tag and a mysql tag, I want a query that returns a post that only has those two tags. make sense? Any way to do this with activerecord (I'm using search logic) or