title: Rails Template Missing
body: <p>I recently updated a controller from a plain </p>
  
  <pre><code>render :json =&gt; @something
  </code></pre>
  
  <p>to </p>
  
  <pre><code>respond_to do |format|
            format.html {
              redirect_to @something
            }
            format.json {
              puts "found json format"
              format.json { render json: @something, status: :created }
            }
          end
  </code></pre>
  
  <p>But, now I'm getting ActionView::MissingTemplate errors. My question is, if I use the respond_to do |format| block, am I required to use a template? What if I just want to return plain json?</p>
  
  <p>Btw, the puts statement in the json respond_to block is being called successfully. </p>