title: Rails: render text gives missingtemplate error
body: <p>I am trying to do an AJAX call with Rails.  The call is to the change_profile action in my controller.  The contents of this action are as follows:</p>
  
  <pre><code>def change_profile
      @test = params[:test]
      puts "AAAAAAA #{@test}"
      respond_to do |format|
         format.html
         format.js
      end
      render(:text =&gt; "FINISHED THE AJAX REQUEST")
  end
  </code></pre>
  
  <p>When I call this, however, the Rails console says:</p>
  
  <pre><code>ActionView::MissingTemplate (Missing template main/change_profile  ....
  </code></pre>
  
  <p>I don't understand why this is happening.  Since I'm rendering text, shouldn't it know not to try to find the template and just render the text?</p>