title: Yii limit on related model while querying
body: <p>I ran into limit problem. The code that I'm using is the following:</p>
  
  <pre><code>$model = PostCategory::model();
    $record = $model-&gt;with(array(
      'posts'=&gt;array(
        'order'=&gt;'posts.createTime DESC',
        'limit'=&gt;3,
  ))-&gt;findByPK($id);
  </code></pre>
  
  <p>I want to limit the posts queried for paging purposes. I've also tried to add</p>
  
  <pre><code>'together'=&gt;true
  </code></pre>
  
  <p>after limit, this doesn't help too.</p>
  
  <p>Any help is appreciated. </p>