title: Rails Ajax Form not showing up (using remote:true)
body: <p>Hi Guys im trying to render a partial using ajax remote true. </p>
  
  <p>On my "new auction" link i have remote true inserted. 
  I also have created a separate 'new.js.erb' file. When the 'new auction' link is clicked, my chrome console shows me status 200 OK. Also when i click response I can see that the 'new.js.erb' file is being read <img src="https://i.stack.imgur.com/RIGsa.png" alt="enter image description here">. However the form i want to show up dosnt show up!  </p>
  
  <p>It dosnt give me any errors, so im not sure what to do or how to proceed?!</p>
  
  <p>Here is the code inside my new.js.erb file:</p>
  
  <pre><code>$('#current_auctions').prepend("&lt;%= j render partial: 'form' %&gt;");
  }
  </code></pre>
  
  <p>Here is the code for my actual form (_form.html.erb):</p>
  
  <pre><code>&lt;div class="form-group" id="new_auction"&gt;
          &lt;%=form_for @auction do |a|%&gt;
          &lt;%=a.label :titlee%&gt;
          &lt;%=a.text_field  :title, class:"form-control"%&gt;
          &lt;%=a.label :detailss%&gt;
          &lt;%=a.text_area :details,class:"form-control"%&gt;&lt;br&gt;
          &lt;%=a.label :endz_onn%&gt;
          &lt;%=a.date_field :ends_on, class:"form-control"%&gt;&lt;br&gt;
          &lt;%=a.label :reserve_pricee%&gt;
          &lt;%=a.number_field :reserve_price, class:"form-control"%&gt;&lt;br&gt;
          &lt;%=a.submit "Create", class: "btn btn-default"%&gt;
          &lt;%end%&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Here is the code for my index page(index.html.erb -This is where I want to prepend the new above form)</p>
  
  <pre><code>&lt;div id="current_auctions"&gt;
  &lt;h3 class="heading"&gt; Current Auctions &lt;/h3&gt;&lt;hr&gt;
  
  &lt;%@auctions.each do |auction| %&gt;
    &lt;strong&gt;&lt;%=link_to auction.title, auction%&gt;&lt;br&gt;&lt;/strong&gt;
    &lt;%=auction.details%&gt;&lt;br&gt;&lt;br&gt;
    Ends on:&lt;%=auction.ends_on%&gt;&lt;br&gt;
    Reserve Price:$&lt;%=auction.reserve_price%&gt;&lt;br&gt;
    &lt;hr&gt;
  &lt;%end%&gt; 
  &lt;/div&gt;
  </code></pre>
  
  <p>My link_to looks like this:</p>
  
  <pre><code>&lt;%=link_to "New Auction", new_auction_path, remote: true%&gt;&lt;br&gt;
  </code></pre>
  
  <p>My routes look like this:<img src="https://i.stack.imgur.com/akzPK.png" alt="enter image description here"></p>
  
  <p>If i prepend regular text, <img src="https://i.stack.imgur.com/Rytl7.png" alt="enter image description here">it shows up, so I know its a problem with the way im rendering the partial, but it looks correct to me, I want to understand why its not working</p>
  
  <p>I am using Ruby on Rails, Sublime Text 2, postgresql</p>