$query = Model_Blog::find()->related('categories')->where(array('categories.id', 'in', array(2,3));
// Returns 2, as expected
// Returns only the first blog post, because it belongs to 2 categories and the limit applies to them, which is frustrating
It looks like you're new here. If you want to get involved, click one of these buttons!