17 Migration 15 Rails In Depth
/home/rubys/git/rails/bin/rails new namelist
/home/rubys/.rvm/gems/ruby-1.9.3-r28929/gems/thor-0.14.0/lib/thor/util.rb:219: Use RbConfig instead of obsolete and deprecated Config.
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/helpers/application_helper.rb
create app/views/layouts/application.html.erb
create app/controllers/application_controller.rb
create app/mailers
create app/models
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/environments
create config/environments/development.rb
create config/environments/test.rb
create config/environments/production.rb
create config/initializers
create config/initializers/mime_types.rb
create config/initializers/inflections.rb
create config/initializers/session_store.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/secret_token.rb
create config/locales
create config/locales/en.yml
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create doc
create doc/README_FOR_APP
create lib
create lib/tasks
create lib/tasks/.gitkeep
create log
create log/server.log
create log/production.log
create log/development.log
create log/test.log
create public
create public/500.html
create public/robots.txt
create public/favicon.ico
create public/422.html
create public/404.html
create public/index.html
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/prototype.js
create public/javascripts/dragdrop.js
create public/javascripts/rails.js
create public/javascripts/effects.js
create public/javascripts/controls.js
create public/javascripts/application.js
create script
create script/rails
create test
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/fixtures
create test/unit
create test/functional
create test/integration
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
bundle install
/home/rubys/.rvm/gems/ruby-1.9.3-r28929/gems/bundler-1.0.0.rc.3/lib/bundler.rb:183: Use RbConfig instead of obsolete and deprecated Config.
Using rake (0.8.7)
Using abstract (1.0.0)
Using activesupport (3.0.0.rc) from source at /home/rubys/git/rails
Using builder (2.1.2)
Using i18n (0.4.1)
Using activemodel (3.0.0.rc) from source at /home/rubys/git/rails
Using erubis (2.6.6)
Using rack (1.2.1)
Using rack-mount (0.6.9)
Using rack-test (0.5.4)
Using tzinfo (0.3.22)
Using actionpack (3.0.0.rc) from source at /home/rubys/git/rails
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.8)
Using mail (2.2.5)
Using actionmailer (3.0.0.rc) from source at /home/rubys/git/rails
Using arel (0.4.0)
Using activerecord (3.0.0.rc) from source at /home/rubys/git/rails
Using activeresource (3.0.0.rc) from source at /home/rubys/git/rails
Using bundler (1.0.0.rc.3)
Using thor (0.14.0)
Using railties (3.0.0.rc) from source at /home/rubys/git/rails
Using rails (3.0.0.rc) from source at /home/rubys/git/rails
Using sqlite3-ruby (1.3.1)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
*[32m
Your bundle was installed to `/home/rubys/.rvm/gems/ruby-1.9.3-r28929`*[0m
edit config/routes.rb
Namelist::Application.routes.draw do
# ...
# This is a legacy wild controller route that's not recommended for RESTful applications.
# Note: This route will make all actions in every controller accessible via GET requests.
match ':controller(/:action(/:id(.:format)))'
end
rails generate model person name:string
/home/rubys/.rvm/gems/ruby-1.9.3-r28929/gems/bundler-1.0.0.rc.3/lib/bundler.rb:183: Use RbConfig instead of obsolete and deprecated Config.
invoke active_record
create db/migrate/20100808162413_create_people.rb
create app/models/person.rb
invoke test_unit
create test/unit/person_test.rb
create test/fixtures/people.yml
rake db:migrate
mv 20100808162413_create_people.rb 20100301000001_create_people.rb
/home/rubys/.rvm/gems/ruby-1.9.3-r28929/gems/bundler-1.0.0.rc.3/lib/bundler.rb:183: Use RbConfig instead of obsolete and deprecated Config.
(in /home/rubys/git/awdwr/work-193/namelist)
== CreatePeople: migrating ===================================================
-- create_table(:people)
-> 0.0014s
== CreatePeople: migrated (0.0015s) ==========================================
edit app/controllers/people_controller.rb
class PeopleController < ApplicationController
def index
@person = Person.new(params[:person])
@person.save! if request.post?
@people = Person.find(:all)
end
end
edit app/views/layouts/people.html.erb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
<title>My Name List</title>
</head>
<body>
<%= yield :layout %>
</body>
</html>
mkdir app/views/people
edit app/views/people/index.html.erb
<table border="1">
<tr>
<th>Name</th><th>bytes</th><th>chars</th><th>reversed</th>
</tr>
<% for person in @people %>
<tr>
<td><%=h person.name %></td>
<td><%= person.name.length %></td>
<td><%= person.name.chars.length %></td>
<td><%=h person.name.chars.reverse %></td>
</tr>
<% end %>
</table>
<% form_for :person do |form| %>
New name: <%= form.text_field :name %>
<%= submit_tag "Add" %>
<% end %>
get /people
Name | bytes | chars | reversed |
---|
post /people
Showing /home/rubys/git/awdwr/work-193/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerator: "Dave":chars>
Extracted source (around line #9):
6: <tr>
7: <td><%=h person.name %></td>
8: <td><%= person.name.length %></td>
9: <td><%= person.name.chars.length %></td>
10: <td><%=h person.name.chars.reverse %></td>
11: </tr>
12: <% end %>
Rails.root: /home/rubys/git/awdwr/work-193/namelist
app/views/people/index.html.erb:9:in `block in _app_views_people_index_html_erb___175609538_76805750__644377446'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___175609538_76805750__644377446'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:114:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:108:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:101:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:92:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:148:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:430:in `_run__96815375__process_action__212349096__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:117:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:40:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:133:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:173:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:89:in `block in recognize'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:66:in `optimized_each'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:88:in `recognize'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:492:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:8:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:177:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:268:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.1) lib/rack/sendfile.rb:107:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.1) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.1) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.1) lib/rack/lock.rb:11:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.1) lib/rack/content_length.rb:13:in `call'
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
app/views/people/index.html.erb:9:in `block in _app_views_people_index_html_erb___175609538_76805750__644377446'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___175609538_76805750__644377446'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:114:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:108:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:101:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:92:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:148:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:430:in `_run__96815375__process_action__212349096__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:117:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:40:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:133:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:173:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:89:in `block in recognize'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:66:in `optimized_each'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:88:in `recognize'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:492:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:8:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:177:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:268:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.1) lib/rack/sendfile.rb:107:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.1) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.1) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.1) lib/rack/lock.rb:11:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.1) lib/rack/content_length.rb:13:in `call'
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Parameters:
{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}
_csrf_token: "Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=" session_id: "67a8e1552512a0bc13f87fd962e37953"
CONTENT_LENGTH: "108" CONTENT_TYPE: "application/x-www-form-urlencoded" GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "*/*" HTTP_COOKIE: "_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly" HTTP_HOST: "localhost:3000" HTTP_USER_AGENT: "Ruby" HTTP_VERSION: "HTTP/1.1" PATH_INFO: "/people" QUERY_STRING: "" REMOTE_ADDR: "127.0.0.1" REMOTE_HOST: "localhost" REQUEST_METHOD: "POST" REQUEST_PATH: "/" REQUEST_URI: "http://localhost:3000/people" SCRIPT_NAME: "" SERVER_NAME: "localhost" SERVER_PORT: "3000" SERVER_PROTOCOL: "HTTP/1.1" SERVER_SOFTWARE: "WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)" action_controller.instance: #<PeopleController:0x9092dc0 @action_has_layout=true, @view_context_class=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_response=#<ActionDispatch::Response:0x9092b7c @writer=#<Proc:0x9092a78@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:44 (lambda)>, @block=nil, @length=0, @header={}, @status=200, @body=[], @cookie=[], @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x9092be0 @env={"CONTENT_LENGTH"=>"108", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x9051dfc>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.content_type"=>application/x-www-form-urlencoded, "rack.request.form_input"=>#<StringIO:0x9051dfc>, "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&_snowman=%e2%98%83&authenticity_token=Dskji6A4MIEI%2bZdQ77drTgF9nzxCJeLjkFpOcFqQoow%3d", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x9092dc0 ...>, "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[*/*], "action_dispatch.request.formats"=>[*/*]}, @fullpath="/people", @filtered_parameters={"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, @method="POST", @request_method="POST">>, @_request=#<ActionDispatch::Request:0x9092be0 @env={"CONTENT_LENGTH"=>"108", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x9051dfc>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.content_type"=>application/x-www-form-urlencoded, "rack.request.form_input"=>#<StringIO:0x9051dfc>, "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&_snowman=%e2%98%83&authenticity_token=Dskji6A4MIEI%2bZdQ77drTgF9nzxCJeLjkFpOcFqQoow%3d", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x9092dc0 ...>, "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[*/*], "action_dispatch.request.formats"=>[*/*]}, @fullpath="/people", @filtered_parameters={"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, @method="POST", @request_method="POST">, @_env={"CONTENT_LENGTH"=>"108", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"POST", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"*/*", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x9051dfc>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.content_type"=>application/x-www-form-urlencoded, "rack.request.form_input"=>#<StringIO:0x9051dfc>, "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&_snowman=%e2%98%83&authenticity_token=Dskji6A4MIEI%2bZdQ77drTgF9nzxCJeLjkFpOcFqQoow%3d", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x9092dc0 ...>, "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[*/*], "action_dispatch.request.formats"=>[*/*]}, @lookup_context=#<ActionView::LookupContext:0x90b3f84 @details_key=#<ActionView::LookupContext::DetailsKey:0x8fbc9b4 @hash=374846204>, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=true, @view_paths=[/home/rubys/git/awdwr/work-193/namelist/app/views]>, @_action_name="index", @_response_body=nil, @config={}, @_params={"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"}, @person=#<Person id: 1, name: "Dave", created_at: "2010-08-08 16:24:17", updated_at: "2010-08-08 16:24:17">, @people=[#<Person id: 1, name: "Dave", created_at: "2010-08-08 16:24:17", updated_at: "2010-08-08 16:24:17">]> action_dispatch.cookies: {"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: 127.0.0.1 action_dispatch.request.accepts: [*/*] action_dispatch.request.content_type: application/x-www-form-urlencoded action_dispatch.request.formats: [*/*] action_dispatch.request.parameters: {"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=", "controller"=>"people", "action"=>"index"} action_dispatch.request.path_parameters: {:controller=>"people", :action=>"index"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} action_dispatch.request.unsigned_session_cookie: {"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} action_dispatch.secret_token: "1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69" rack.errors: #<IO:<STDERR>> rack.input: #<StringIO:0x9051dfc> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil} rack.request.cookie_string: "_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly" rack.request.form_hash: {"person"=>{"name"=>"Dave"}, "_snowman"=>"☃", "authenticity_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} rack.request.form_input: #<StringIO:0x9051dfc> rack.request.form_vars: "person%5bname%5d=Dave&_snowman=%e2%98%83&authenticity_token=Dskji6A4MIEI%2bZdQ77drTgF9nzxCJeLjkFpOcFqQoow%3d" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} rack.session.options: {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
get /people
Showing /home/rubys/git/awdwr/work-193/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerator: "Dave":chars>
Extracted source (around line #9):
6: <tr>
7: <td><%=h person.name %></td>
8: <td><%= person.name.length %></td>
9: <td><%= person.name.chars.length %></td>
10: <td><%=h person.name.chars.reverse %></td>
11: </tr>
12: <% end %>
Rails.root: /home/rubys/git/awdwr/work-193/namelist
app/views/people/index.html.erb:9:in `block in _app_views_people_index_html_erb___175609538_72469060__644377446'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___175609538_72469060__644377446'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:114:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:108:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:101:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:92:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:148:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:430:in `_run__96815375__process_action__212349096__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:117:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:40:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:133:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:173:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:89:in `block in recognize'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:66:in `optimized_each'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:88:in `recognize'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:492:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:8:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:177:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:268:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.1) lib/rack/sendfile.rb:107:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.1) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.1) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.1) lib/rack/lock.rb:11:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.1) lib/rack/content_length.rb:13:in `call'
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
app/views/people/index.html.erb:9:in `block in _app_views_people_index_html_erb___175609538_72469060__644377446'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___175609538_72469060__644377446'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `block in render'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:54:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:127:in `render'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:56:in `_render_template'
/home/rubys/git/rails/actionpack/lib/action_view/render/rendering.rb:26:in `render'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:114:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:108:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:101:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:92:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:17:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/benchmark.rb:309:in `realtime'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
/home/rubys/git/rails/activerecord/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:39:in `render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:148:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rendering.rb:11:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:430:in `_run__96815375__process_action__212349096__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:404:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `run_callbacks'
/home/rubys/git/rails/actionpack/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `block in instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52:in `instrument'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/abstract_controller/base.rb:117:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:40:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:133:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:173:in `block in action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:27:in `call'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:148:in `block in call'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:89:in `block in recognize'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:66:in `optimized_each'
rack-mount (0.6.9) lib/rack/mount/code_generation.rb:88:in `recognize'
rack-mount (0.6.9) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:492:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:8:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.1) lib/rack/methodoverride.rb:24:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/flash.rb:177:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/cookies.rb:268:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32:in `block in call'
/home/rubys/git/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:12:in `cache'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:31:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.1) lib/rack/sendfile.rb:107:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/show_exceptions.rb:48:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.1) lib/rack/runtime.rb:17:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.2.1) lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
rack (1.2.1) lib/rack/lock.rb:11:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/static.rb:30:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:168:in `call'
/home/rubys/git/rails/railties/lib/rails/application.rb:77:in `method_missing'
/home/rubys/git/rails/railties/lib/rails/rack/log_tailer.rb:14:in `call'
rack (1.2.1) lib/rack/content_length.rb:13:in `call'
rack (1.2.1) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/home/rubys/.rvm/rubies/ruby-1.9.3-r28929/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Parameters:
None
_csrf_token: "Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow=" session_id: "67a8e1552512a0bc13f87fd962e37953"
GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "text/html" HTTP_COOKIE: "_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly" HTTP_HOST: "localhost:3000" HTTP_USER_AGENT: "Ruby" HTTP_VERSION: "HTTP/1.1" PATH_INFO: "/people" QUERY_STRING: "" REMOTE_ADDR: "127.0.0.1" REMOTE_HOST: "localhost" REQUEST_METHOD: "GET" REQUEST_PATH: "/" REQUEST_URI: "http://localhost:3000/people" SCRIPT_NAME: "" SERVER_NAME: "localhost" SERVER_PORT: "3000" SERVER_PROTOCOL: "HTTP/1.1" SERVER_SOFTWARE: "WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)" action_controller.instance: #<PeopleController:0x85b67e4 @action_has_layout=true, @view_context_class=nil, @_headers={"Content-Type"=>"text/html"}, @_status=200, @_response=#<ActionDispatch::Response:0x85b653c @writer=#<Proc:0x85b5ce0@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:44 (lambda)>, @block=nil, @length=0, @header={}, @status=200, @body=[], @cookie=[], @sending_file=false, @blank=false, @cache_control={}, @etag=nil, @request=#<ActionDispatch::Request:0x85b65dc @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x855b380>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x85b67e4 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html]}, @fullpath="/people", @filtered_parameters={"controller"=>"people", "action"=>"index"}, @method="GET", @request_method="GET">>, @_request=#<ActionDispatch::Request:0x85b65dc @env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x855b380>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x85b67e4 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html]}, @fullpath="/people", @filtered_parameters={"controller"=>"people", "action"=>"index"}, @method="GET", @request_method="GET">, @_env={"GATEWAY_INTERFACE"=>"CGI/1.1", "PATH_INFO"=>"/people", "QUERY_STRING"=>"", "REMOTE_ADDR"=>"127.0.0.1", "REMOTE_HOST"=>"localhost", "REQUEST_METHOD"=>"GET", "REQUEST_URI"=>"http://localhost:3000/people", "SCRIPT_NAME"=>"", "SERVER_NAME"=>"localhost", "SERVER_PORT"=>"3000", "SERVER_PROTOCOL"=>"HTTP/1.1", "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.9.3/2010-08-09)", "HTTP_ACCEPT"=>"text/html", "HTTP_USER_AGENT"=>"Ruby", "HTTP_COOKIE"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "HTTP_HOST"=>"localhost:3000", "rack.version"=>[1, 1], "rack.input"=>#<StringIO:0x855b380>, "rack.errors"=>#<IO:<STDERR>>, "rack.multithread"=>false, "rack.multiprocess"=>false, "rack.run_once"=>false, "rack.url_scheme"=>"http", "HTTP_VERSION"=>"HTTP/1.1", "REQUEST_PATH"=>"/", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.secret_token"=>"1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69", "action_dispatch.remote_ip"=>127.0.0.1, "rack.session"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "rack.session.options"=>{:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"}, "rack.request.cookie_string"=>"_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.cookies"=>{"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil}, "action_dispatch.request.unsigned_session_cookie"=>{"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="}, "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "action_controller.instance"=>#<PeopleController:0x85b67e4 ...>, "action_dispatch.request.content_type"=>nil, "action_dispatch.request.request_parameters"=>{}, "rack.request.query_string"=>"", "rack.request.query_hash"=>{}, "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.parameters"=>{"controller"=>"people", "action"=>"index"}, "action_dispatch.request.accepts"=>[text/html], "action_dispatch.request.formats"=>[text/html]}, @lookup_context=#<ActionView::LookupContext:0x85bfa24 @details_key=#<ActionView::LookupContext::DetailsKey:0x8fbc9b4 @hash=374846204>, @details={:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]}, @skip_default_locale=false, @frozen_formats=true, @view_paths=[/home/rubys/git/awdwr/work-193/namelist/app/views]>, @_action_name="index", @_response_body=nil, @config={}, @_params={"controller"=>"people", "action"=>"index"}, @person=#<Person id: nil, name: nil, created_at: nil, updated_at: nil>, @people=[#<Person id: 1, name: "Dave", created_at: "2010-08-08 16:24:17", updated_at: "2010-08-08 16:24:17">]> action_dispatch.cookies: {"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: 127.0.0.1 action_dispatch.request.accepts: [text/html] action_dispatch.request.content_type: nil action_dispatch.request.formats: [text/html] action_dispatch.request.parameters: {"controller"=>"people", "action"=>"index"} action_dispatch.request.path_parameters: {:controller=>"people", :action=>"index"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {} action_dispatch.request.unsigned_session_cookie: {"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} action_dispatch.secret_token: "1c112bcaeca555033afe6db4e615009bc07a1c6a60cfb996ac93e909fccb7dbc7d678662fdc5c88901a4551a8c3a4bef289408b79f8f7258a2fca647f61c1a69" rack.errors: #<IO:<STDERR>> rack.input: #<StringIO:0x855b380> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY=--6c6a22017fb75c52cff2dc42d1a0d80954820133", "path"=>"/", "HttpOnly"=>nil} rack.request.cookie_string: "_namelist_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNjdhOGUxNTUyNTEyYTBiYzEzZjg3ZmQ5NjJlMzc5NTNJIhBfY3NyZl90b2tlbgY7AEZJIjFEc2tqaTZBNE1JRUkrWmRRNzdkclRnRjluenhDSmVMamtGcE9jRnFRb293PQY7AEY%3D--6c6a22017fb75c52cff2dc42d1a0d80954820133; path=/; HttpOnly" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"session_id"=>"67a8e1552512a0bc13f87fd962e37953", "_csrf_token"=>"Dskji6A4MIEI+ZdQ77drTgF9nzxCJeLjkFpOcFqQoow="} rack.session.options: {:path=>"/", :domain=>nil, :expire_after=>nil, :secure=>false, :httponly=>true, :id=>"67a8e1552512a0bc13f87fd962e37953"} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
sqlite3> select name,length(name) from people where name like 'G%'