title: Missing partial users/user
body: <p>So I have a rails server which accepts json requests. I intend to use it as a server for my iphone app. I get this error:</p>
  
  <pre><code>Missing partial users/user with {:locale=&gt;[:en], :formats=&gt;[:json], :handlers=&gt;[:erb, :builder, :coffee]}. Searched in: * "/Users/chalamphongpandey/rails_projects/comboo/app/views" * "/Users/chalamphongpandey/.rvm/gems/ruby-1.9.3-p327@railstutorial/gems/devise-2.2.3/app/views"
  </code></pre>
  
  <p>I dont understand what partial is missing because I am not rendering any view. All the create action(which in routes I have configured to be as sign_up) does is accept information such as username, password, name etc, create a user and sends back a confirmation(json format)</p>
  
  <p>The url i sent in is </p>
  
  <pre><code>http://localhost:3000/sign_up.json?username=chalami&amp;password=chalami&amp;name=chalami&amp;email=3020@gmail.com
  </code></pre>
  
  <p>The url I sent in through my browser and not through the app. I wanted to test it through the browser first.
  my code is</p>
  
  <pre><code>class UsersController &lt; ApplicationController
  respond_to :json
  def create
  @user = User.new(params[:user])
  if @user.save
      render :json =&gt; {:status =&gt; "200", :message =&gt; "Signed up successfully"}
  else
      render :json =&gt; {:status =&gt; "400", :message =&gt; "Failed"}
  end
    end
  end
  </code></pre>