title: how to request a page in xml in ruby-on-rails?
body: <p>here is my code in a controller</p>
  
  <pre><code>respond_to do |format|
    format.html
    format.xml  { render :xml =&gt; @menus }
  end
  </code></pre>
  
  <p>when i type "<a href="http://192.168.210.136:3000" rel="nofollow noreferrer">http://192.168.210.136:3000</a>" then it renders the html version.</p>
  
  <p>but how do i request the xml version? i tried <a href="http://192.168.210.136:3000.xml" rel="nofollow noreferrer">http://192.168.210.136:3000.xml</a> and <a href="http://192.168.210.136:3000/index.xml" rel="nofollow noreferrer">http://192.168.210.136:3000/index.xml</a> with no luck.</p>
  
  <p>thanks!</p>