title: Yii isNewRecord is false in beforeSave?
body: <p>I made a beforeSave method in my model (extends GXActiveRecord), the if isNewRecord never gets triggered. My beforeSave() gets called, though. </p>
  
  <p>When I print the  $this->isNewRecord variable, it's false. 
  When is this variable set to false anyway?
  I'm very sure it's new</p>
  
  <pre><code>public function beforeSave(){
  
  
          if(parent::beforeSave())
              {
                if($this-&gt;isNewRecord){
                      $this-&gt;setAttribute('doc_status','new');
                      print "something";
                }else{
                    $this-&gt;setAttribute('doc_status','updated');
                }
              return  true;
              }  else { return false;
  
      }
  </code></pre>