Methods
C
F
R
Class Public methods
controller_path()
# File actionpack/test/controller/render_xml_test.rb, line 16
def self.controller_path
  'test'
end
Instance Public methods
formatted_xml_erb()
# File actionpack/test/controller/render_xml_test.rb, line 33
def formatted_xml_erb
end
render_with_location()
# File actionpack/test/controller/render_xml_test.rb, line 20
def render_with_location
  render :xml => "<hello/>", :location => "http://example.com", :status => 201
end
render_with_object_location()
# File actionpack/test/controller/render_xml_test.rb, line 24
def render_with_object_location
  customer = Customer.new("Some guy", 1)
  render :xml => "<customer/>", :location => customer, :status => :created
end
render_with_to_xml()
# File actionpack/test/controller/render_xml_test.rb, line 29
def render_with_to_xml
  render :xml => XmlRenderable.new
end
render_xml_with_custom_content_type()
# File actionpack/test/controller/render_xml_test.rb, line 36
def render_xml_with_custom_content_type
  render :xml => "<blah/>", :content_type => "application/atomsvc+xml"
end
render_xml_with_custom_options()
# File actionpack/test/controller/render_xml_test.rb, line 40
def render_xml_with_custom_options
  render :xml => XmlRenderable.new, :root => "i-am-THE-xml"
end