Methods
A
B
D
G
H
L
P
R
Attributes
[RW] delegate_attr
Instance Public methods
accessing_local_assigns_in_inline_template()
# File rails/actionpack/test/controller/render_test.rb, line 107
def accessing_local_assigns_in_inline_template
  name = params[:local_name]
  render :inline => "<%= 'Goodbye, ' + local_name %>",
         :locals => { :local_name => name }
end
accessing_local_assigns_in_inline_template_with_string_keys()
# File rails/actionpack/test/controller/render_test.rb, line 113
def accessing_local_assigns_in_inline_template_with_string_keys
  name = params[:local_name]
  ActionView::Base.local_assigns_support_string_keys = true
  render :inline => "<%= 'Goodbye, ' + local_name %>",
         :locals => { "local_name" => name }
  ActionView::Base.local_assigns_support_string_keys = false
end
accessing_params_in_template()
# File rails/actionpack/test/controller/render_test.rb, line 103
def accessing_params_in_template
  render_template "Hello: <%= params[:name] %>"
end
builder_layout_test()
# File rails/actionpack/test/controller/render_test.rb, line 80
def builder_layout_test
  render_action "hello"
end
builder_partial_test()
# File rails/actionpack/test/controller/render_test.rb, line 84
def builder_partial_test
  render_action "hello_world_container"
end
delegate_method()
# File rails/actionpack/test/controller/helper_test.rb, line 5
def delegate_method() end
greeting()
# File rails/actionpack/test/controller/render_test.rb, line 72
def greeting
  # let's just rely on the template
end
hello_in_a_string()
# File rails/actionpack/test/controller/render_test.rb, line 98
def hello_in_a_string
  @customers = [ Customer.new("david"), Customer.new("mary") ]
  render_text "How's there? #{render_to_string("test/list")}"
end
hello_world()
# File rails/actionpack/test/controller/render_test.rb, line 18
def hello_world
end
layout_test()
# File rails/actionpack/test/controller/render_test.rb, line 76
def layout_test
  render_action "hello_world"
end
partial_only()
# File rails/actionpack/test/controller/render_test.rb, line 94
def partial_only
  render_partial
end
partials_list()
# File rails/actionpack/test/controller/render_test.rb, line 88
def partials_list
  @test_unchanged = 'hello'
  @customers = [ Customer.new("david"), Customer.new("mary") ]
  render_action "list"
end
render_action_hello_world()
# File rails/actionpack/test/controller/render_test.rb, line 30
def render_action_hello_world
  render_action "hello_world"
end
render_action_hello_world_with_symbol()
# File rails/actionpack/test/controller/render_test.rb, line 34
def render_action_hello_world_with_symbol
  render_action :hello_world
end
render_custom_code()
# File rails/actionpack/test/controller/render_test.rb, line 54
def render_custom_code
  render_text "hello world", "404 Moved"
end
render_hello_world()
# File rails/actionpack/test/controller/render_test.rb, line 21
def render_hello_world
  render "test/hello_world"
end
render_hello_world_from_variable()
# File rails/actionpack/test/controller/render_test.rb, line 25
def render_hello_world_from_variable
  @person = "david"
  render_text "hello #{@person}"
end
render_json_hello_world()
# File rails/actionpack/test/controller/render_test.rb, line 42
def render_json_hello_world
  render_json({:hello => 'world'}.to_json)
end
render_json_hello_world_with_callback()
# File rails/actionpack/test/controller/render_test.rb, line 46
def render_json_hello_world_with_callback
  render_json({:hello => 'world'}.to_json, 'alert')
end
render_nothing_with_appendix()
# File rails/actionpack/test/controller/render_test.rb, line 63
def render_nothing_with_appendix
  render_text "appended", nil, true
end
render_symbol_json()
# File rails/actionpack/test/controller/render_test.rb, line 50
def render_symbol_json
  render :json => {:hello => 'world'}.to_json
end
render_text_appendix()
# File rails/actionpack/test/controller/render_test.rb, line 58
def render_text_appendix
  render_text "hello world"
  render_text ", goodbye!", "404 Not Found", true
end
render_text_hello_world()
# File rails/actionpack/test/controller/render_test.rb, line 38
def render_text_hello_world
  render_text "hello world"
end
render_to_string_test()
# File rails/actionpack/test/controller/render_test.rb, line 121
def render_to_string_test
  @foo = render_to_string :inline => "this is a test"
end
render_xml_hello()
# File rails/actionpack/test/controller/render_test.rb, line 67
def render_xml_hello
  @name = "David"
  render "test/hello"
end
rescue_action(e)
# File rails/actionpack/test/controller/helper_test.rb, line 6
def rescue_action(e) raise end