title: Rails form_for submit button not working
body: <p>Thank you for your patience. Still pretty new to Rails.</p>
  
  <p>Using Rails 3.2</p>
  
  <p>Making a signup page for a simple app. My problem is that the submit button on my form doesn't cause any effect, whether the information in the form is valid or not. </p>
  
  <p>The User model and database both seem to work fine. If I add a user manually from the rails console, it will add it to the database. As far as I can tell, the issue seems to be in the form generated by form_for.</p>
  
  <p>Here is the page in question:</p>
  
  <pre><code>&lt;% provide(:title, 'Sign up') %&gt;
  &lt;h1&gt;Sign up&lt;/h1&gt;
  
  &lt;div class="row"&gt;
      &lt;div class="span6 offset3&gt;
          &lt;%= form_for(@user) do |f| %&gt;
              &lt;%= render 'shared/error_messages' %&gt;
  
              &lt;%= f.label :name %&gt;
              &lt;%= f.text_field :name %&gt;
  
              &lt;%= f.label :email %&gt;
              &lt;%= f.text_field :email %&gt;
  
              &lt;%= f.label :password %&gt;
              &lt;%= f.password_field :password %&gt;
  
              &lt;%= f.label :password_confirmation, "Confirmation" %&gt;
              &lt;%= f.password_field :password_confirmation %&gt;
  
              &lt;%= f.submit "Create my account", class: "btn btn-large btn-primary" %&gt;
          &lt;% end %&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And here is my users controller:</p>
  
  <pre><code>  def show
      @user = User.find(params[:id])
    end
  
    def new
      @user = User.new
    end
  
    def create
      @user = User.new(params[:user])
          if @user.save
              flash[:success] = "Thank you for signing up! Please check your email to confirm your account."
              redirect_to @user
          else
              render 'new'
          end
      end
  end
  </code></pre>
  
  <p>Submit doesn't cause any type of error - simply doesn't cause anything to happen at all. So no valuable information in the logs. </p>
  
  <p>Thank you in advance for any insight.</p>
  
  <p>EDIT: Adding code from /shared/_error_messages.html.erb partial</p>
  
  <pre><code>&lt;% if @user.errors.any? %&gt;
    &lt;div id="error_explanation"&gt;
      &lt;div class="alert alert-error"&gt;
        The form contains &lt;%= pluralize(@user.errors.count, "error") %&gt;.
      &lt;/div&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;
  </code></pre>