title: Remove .xml extension from ActiveResource request
body: <p>I am trying to use ActiveResource to consume xml data from a third party API. I can use the RESTClient app to successfully authenticate and make requests. I coded my app and when I make a request I get a 404 error. I added:</p>
  
  <pre><code>ActiveResource::Base.logger = Logger.new(STDERR) 
  </code></pre>
  
  <p>to my development.rb file and figured out the problem. The API responds with xml data to requests that do NOT end in xml. EG, this works in RESTClient:</p>
  
  <pre><code>https://api.example.com/contacts
  </code></pre>
  
  <p>but ActiveResource is sending this request instead</p>
  
  <pre><code>https://api.example.com/contacts.xml
  </code></pre>
  
  <p>Is there anyway "nice" way to strip the extension from the request being generated by ActiveResource?</p>
  
  <p>Thanks</p>