title: How do I specify ":layout => false" in Rails' respond_with?
body: <p>I have this setup:</p>
  
  <pre><code>class UsersController &lt; InheritedResources::Base
    respond_to :html, :js, :xml, :json
  
    def index
      @users = User.all
      respond_with(@users)
    end
  end
  </code></pre>
  
  <p>Now I am trying to make it so, if <code>params[:format] =~ /(js|json)/</code>, <code>render :layout =&gt; false, :text =&gt; @users.to_json</code>.  How do I do that with <code>respond_with</code> or <code>respond_to</code> and inherited_resources?</p>