title: Yii2 Active Record class load() or save() not updating data
body: <p>The following is the controller code that seems to be working through the if statement but the data in the db is not updating.</p>
  
  <pre><code>public function actionUpdate($id)
  {
      $model = $this-&gt;findModel($id);
  
      if ($_model = Yii::$app-&gt;request-&gt;post() &amp;&amp; $model-&gt;save()) {
          return $this-&gt;redirect(['view', 'id' =&gt; $model-&gt;id]);
      } else {
          return $this-&gt;render('update', [
              'model' =&gt; $model,
          ]);
      }
  }
  </code></pre>
  
  <p>I suspect the problem lies in something to do with the fact that it is part of a CRUD code for of users and the form only updates a handful of fields (excluding password, authKey, etc).</p>
  
  <p>Please help.</p>
  
  <p>Thanks</p>