title: Strange (for me) behavior of YII framework
body: <p>I use YII framework and I needed to echo out query that is generated with the method <code>insert($attributes=null)</code> in <code>CActiveModel</code> class which, as it's told in documentation, is in  framework/db/ar/CActiveRecord.php.</p>
  
  <p>Well, my task was not hard, so I opened this file and edited this method, but nothing happened. After a little head-ache I've found out that my application was importing this class from the folder where I downloaded YII first.</p>
  
  <p>What could be the reason of this behavior? I've solved my problem by changing path but I wonder, is it good solution?</p>
  
  <p>Thank you in advance.</p>