 <p>in your controller <code>UsersController</code>, in the <code>update</code> method, add the <code>address: :id</code> to the address permitted attributes. Like this:</p> <pre><code>params.require(:user).permit(:user_name, address_attributes: [:id, :street])) </code></pre>