title: Model attributes set in beforeSave() are not being saved
body: <p>I am trying to set a model attributes in beforeSave() method but they are not saved afterwards.</p>
  
  <pre><code> public function beforeSave(){
       if(!$this-&gt;isNewRecord){
           // ...
           $this-&gt;status = self::VISIBLE;
       }               
       return parent::beforeSave();
   }
  </code></pre>
  
  <p>I have tried returning true instead of parent::beforeSave().
  Also I have tried if(parent::beforeSave) {} structure.</p>
  
  <p>I have checked model attributes in afterSave and they are set. I just don't get there they can get lost afterwards.</p>
  
  <p>Any ideas?</p>