title: How to get results of findBySQL
body: <p>Sorry for my English. Here is a code:</p>
  
  <pre><code>public function showLastThreeNews(){
      return News::model()-&gt;findBySql('SELECT * FROM news LIMIT 3;');
  }
  </code></pre>
  
  <p>Next, for example, I want to get results of the query:</p>
  
  <pre><code>public function actionIndex()
      {
          $lastnews = $this-&gt;showLastThreeNews();
  
          foreach ($lastnews as $news){
              ChromePhp::log($lastnews-&gt;news_title);
          }
  
          $this-&gt;render('index', array(
              'lastnews'=&gt;$lastnews
          ));
      }
  </code></pre>
  
  <p>Problem is that logger show me one record three times without changing to next record.</p>
  
  <p>What is my mistake?</p>