title: Getting NoMethodError in Users#new when adding a a new sign up form
body: <p>Trying to add a new form for new signups </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;%= 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>but when i run the program click on the new sign up buttons 
  get error NoMethodError in Users#new ??</p>
  
  <p></p>
  
  <pre><code>&lt;div class="span6 offset3"&gt;
  &lt;%= form_for(@user) do |f| %&gt;  &lt;--error os here
  &lt;%= f.label :name %&gt;
  &lt;%= f.text_field :name %&gt; 
  </code></pre>
  
  <p>As requested here is the extra code it contains the user_controller.rb and the user.rb
  user_controller.rb</p>
  
  <pre><code>class UsersController &lt; ApplicationController
  
  
    def show
      @user = User.find(params[:id])
    end
  
    def new
      @user = User.new
    end
  end
  
  user.rb
  
  class User &lt; ActiveRecord::Base
    before_save { self.email = email.downcase }
    validates :name, presence: true, length: { maximum: 50 }
    VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-.]+\.[a-z]+\z/i
    validates :email, presence:   true,
                      format:     { with: VALID_EMAIL_REGEX },
                      uniqueness: { case_sensitive: false }
    has_secure_password
    validates :password, length: { minimum: 6 }
  end
  </code></pre>
  
  <p>trace error when i try to get to the sign up button</p>
  
  <pre><code>Started GET "/signup" for 127.0.0.1 at 2014-02-05 16:53:21 +0000
  Processing by UsersController#new as HTML
    Rendered users/new.html.erb within layouts/application (35.1ms)
  Completed 500 Internal Server Error in 39ms
  
      ActionView::Template::Error (undefined method `users_path' for #&lt;#&lt;Class:0x007f9db9decb60&gt;:0x007f9dbc862098&gt;):
          3: 
          4: &lt;div class="row"&gt;
          5:   &lt;div class="span6 offset3"&gt;
          6:     &lt;%= form_for(@user) do |f| %&gt;
          7: 
          8:       &lt;%= f.label :name %&gt;
          9:       &lt;%= f.text_field :name %&gt;
        app/views/users/new.html.erb:6:in `_app_views_users_new_html_erb__4582285946471664350_70157724747320'
  
    Rendered /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
    Rendered /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
    Rendered /usr/local/rvm/gems/ruby-2.0.0-p247/gems/actionpack-4.0.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (13.1ms)
  </code></pre>