The default scaffold command creates code like the following:
respond_to do |format| format.html # show.html.erb format.xml { render :xml => @model_name} end
My application is not using XML, so how can I configure scaffold (and other generators) to only create the HTML code, and eliminate the pesky respond_to do |format|
block?
Working in Rails 3 on Ubuntu.