Rails: How to show validation error messages while updating multiple records
<p>I am updating multiple records in rails using below syntax</p>

<pre><code>@user = Model.update(params[:user].keys,params[:user].values)
</code></pre>

<p>Records are updated successfully. But if there is any <strong>validation error</strong> then I am not able to see it via <code>@user.errors</code> .</p>

<p>I am getting error as <code>NoMethodError (undefined method errors' for #&lt;Array:0x6dff140&gt;):</code></p>

<p>How can i display error message if any of the record is not saved due to errors while editing multiple records??</p>

<p>Thanks,</p>