Open your controller and look for the following: # GET /products # GET /products.xml def index @products = Product.find(:all) respond_to do |format| format.html # index.rhtml format.xml { render :xml => @products.to_xml } end end Update your database by running a migration and ensuring that everything works correctly: rake db:migrate If you've seen any Rails code created before Rails 2