Methods
F
L
M
Instance Public methods
form_helper()
# File rails/actionpack/examples/benchmark.rb, line 18
def form_helper
  @person = Person.new "david", "hyacintvej", 24
  render_template(
    "<% person = Person.new 'Mary', 'hyacintvej', 22 %> " +
    "change the name <%= text_field 'person', 'name' %> and  <%= text_field 'person', 'address' %> and <%= text_field 'person', 'age' %>"
  )
end
list()
# File rails/actionpack/examples/benchmark.rb, line 13
def list
  @people = [ Person.new("David"), Person.new("Mary") ]
  render_template "hello: <% for person in @people %>Name: <%= person.name %><% end %>"
end
message()
# File rails/actionpack/examples/benchmark.rb, line 9
def message
  render_text "hello world"
end