title: trying to create model object with form submission in Ruby on Rails
body: <p>First time with ROR and I'm trying to create a new model object from the index view on form submission.  I think I got it figured out,  but I'm getting:</p>
  
  <pre><code>uninitialized constant UsersController
  </code></pre>
  
  <p>In my view I have:</p>
  
  <pre><code>=form_for :user, :url =&gt; { :action =&gt; "new", :controller =&gt; "user" } do |f|
      = f.text_field :username, :placeholder =&gt; 'Username', :size =&gt; 30
      %br
      = f.text_field :email, :placeholder =&gt; 'E-mail', :size =&gt; 30
      %br
      = f.password_field :password, :placeholder =&gt; 'Password', :size =&gt; 30
      %br
      %br
      = f.submit_tag 'Sign Up'
  </code></pre>
  
  <p>In my controller I have:</p>
  
  <pre><code>def new
  user_info = :params[:user]
      @user = User.create!(user_info)
      flash[:notice] = "#{@user.username} has been added!  Please fill out your profile page."
      redirect_to user_path
  end
  </code></pre>
  
  <p>Can anyone see why I'm getting this?</p>