I am converting a Rails 2 application to Rails 3. I currently have a controller set up like the following:
class Api::RegionsController < ApplicationContr
An easy but ugly solution is to override html content type handling to render xml:
respond_to :html, :xml, :json def index @regions = Region.all respond_with @regions do |format| format.html { render :xml => @regions } end end