title: Rails errors not showing?
body: <p>So im learning rails, and following the rails getting started guide (I've actually done the "blog app" on the Udemy rails course, but im making sure I can write it from scratch first before moving on).</p>
  
  <p>Anyways, i've gotten Delete/Create running, but I was adding validation...and while the validation works my errors aren't showing up.</p>
  
  <p>Right now my pages are super simple:</p>
  
  <p><code>new.html.erb</code></p>
  
  <pre><code>&lt;% if @user.errors.any? %&gt;
    &lt;div id="error_explanation"&gt;
      &lt;h2&gt;
        &lt;%= pluralize(@user.errors.count, "error") %&gt; prohibited this user from being saved
      &lt;/h2&gt;
      &lt;ul&gt;
        &lt;% @user.errors.full_messages.each do |msg| %&gt;
          &lt;li&gt;&lt;%= msg %&gt;&lt;/li&gt;
        &lt;% end %&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;% end %&gt;
  
  &lt;%= form_with scope: :user, url: users_path, local: true do |form| %&gt;
  &lt;p&gt;
    &lt;%= form.label :username %&gt;&lt;br&gt;
    &lt;%= form.text_field :username %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;%= form.label :name %&gt;&lt;br&gt;
    &lt;%= form.text_field :name %&gt;
  &lt;/p&gt;
  &lt;p&gt;
    &lt;%= form.label :age %&gt;&lt;br&gt;
    &lt;%= form.number_field :age %&gt;
  &lt;/p&gt;
  &lt;p&gt;&lt;%= form.submit %&gt;&lt;/p&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p><code>users_controller</code></p>
  
  <pre><code>class UsersController &lt; ApplicationController
      def index
        @users = User.all
      end
  
      def new
        @user = User.new
      end
  
      def edit
        @user = User.find(params[:id])
      end
  
      def create
        @user = User.new(params.require(:user).permit(:username,:name,:age))
        if @user.save
          redirect_to users_path
        else
          render 'new'
        end
      end
  
      def update
  
      end
  
      def destroy
        @user = User.find(params[:id])
        @user.destroy
        redirect_to users_path
      end
  
  end
  </code></pre>
  
  <p>So the weird thing if I go into my network tab in dev tools I can see this show up in the response tab:</p>
  
  <pre><code>  &lt;div id="error_explanation"&gt;
      &lt;h2&gt;
        1 error prohibited this user from being saved
      &lt;/h2&gt;
      &lt;ul&gt;
          &lt;li&gt;Username has already been taken&lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>But it doesn't show up in "elements" in Chrome dev tools. I've restarted rails....so Im really not sure why the elements are not showing up. I DO have bootstrap 4.00 beta installed, but not sure why that would matter. This is rails 5.1.4 btw.</p>