17 Migration 15 Rails In Depth
bundle exec /home/rubys/git/rails/bin/rails new namelist --skip-bundle --dev
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/mailers
create app/models
create app/views/layouts/application.html.erb
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/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/backtrace_silencers.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/secret_token.rb
create config/initializers/session_store.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/404.html
create public/422.html
create public/500.html
create public/favicon.ico
create public/index.html
create public/robots.txt
create public/images
create public/images/rails.png
create public/stylesheets
create public/stylesheets/.gitkeep
create public/javascripts
create public/javascripts/application.js
create public/javascripts/controls.js
create public/javascripts/dragdrop.js
create public/javascripts/effects.js
create public/javascripts/prototype.js
create public/javascripts/rails.js
create script
create script/rails
create test
create test/fixtures
create test/functional
create test/integration
create test/performance/browsing_test.rb
create test/test_helper.rb
create test/unit
create tmp
create tmp/sessions
create tmp/sockets
create tmp/cache
create tmp/pids
create vendor/plugins
create vendor/plugins/.gitkeep
bundle install
Using rake (0.9.2.2)
Using abstract (1.0.0)
Using activesupport (3.0.15)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.15)
Using erubis (2.6.6)
Using rack (1.2.5)
Using rack-mount (0.6.14)
Using rack-test (0.5.7)
Using tzinfo (0.3.33)
Using actionpack (3.0.15)
Using mime-types (1.19)
Using polyglot (0.3.3)
Using treetop (1.4.10)
Using mail (2.2.19)
Using actionmailer (3.0.15)
Using braintree (2.16.0)
Using activemerchant (1.10.0)
Using arel (2.0.10)
Using activerecord (3.0.15)
Using activeresource (3.0.15)
Using bundler (1.1.3)
Using highline (1.6.13)
Using net-ssh (2.5.2)
Using net-scp (1.0.4)
Using net-sftp (2.0.5)
Using net-ssh-gateway (1.1.0)
Using capistrano (2.12.0)
Using haml (3.1.6)
Using htmlentities (4.3.1)
Using json (1.7.3)
Using rdoc (3.12)
Using thor (0.14.6)
Using railties (3.0.15)
Using rails (3.0.15)
Using jquery-rails (0.2.7)
Using minitest (3.2.0)
Using mysql (2.8.1)
Using sqlite3 (1.3.6)
Using test-unit (2.5.0)
Using will_paginate (3.0.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
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
invoke active_record
create db/migrate/20120629191556_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 20120629191556_create_people.rb 20110711000001_create_people.rb
== CreatePeople: migrating ===================================================
-- create_table(:people)
-> 0.0046s
== CreatePeople: migrated (0.0048s) ==========================================
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/edition3/work-30/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerable::Enumerator:0x7f350cb2fde8>
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/edition3/work-30/namelist
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb__220157634_69932911543480_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb__220157634_69932911543480_0'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `send'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135: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 `_render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109: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:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308: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 `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:150: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 `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:436:in `_run__2118015101__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94: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/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138: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:178:in `action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.5) 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:182: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:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32: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/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.5) lib/rack/sendfile.rb:106: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:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.5) 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.5) lib/rack/lock.rb:13:in `call'
rack (1.2.5) lib/rack/lock.rb:13:in `synchronize'
rack (1.2.5) lib/rack/lock.rb:13: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 `send'
/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.5) lib/rack/content_length.rb:13:in `call'
rack (1.2.5) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.5) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.5) lib/rack/server.rb:217:in `start'
/home/rubys/git/rails/railties/lib/rails/commands/server.rb:65:in `start'
/home/rubys/git/rails/railties/lib/rails/commands.rb:30
/home/rubys/git/rails/railties/lib/rails/commands.rb:27:in `tap'
/home/rubys/git/rails/railties/lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb__220157634_69932911543480_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb__220157634_69932911543480_0'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `send'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135: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 `_render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109: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:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308: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 `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:150: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 `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:436:in `_run__2118015101__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94: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/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138: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:178:in `action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.5) 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:182: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:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32: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/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.5) lib/rack/sendfile.rb:106: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:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.5) 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.5) lib/rack/lock.rb:13:in `call'
rack (1.2.5) lib/rack/lock.rb:13:in `synchronize'
rack (1.2.5) lib/rack/lock.rb:13: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 `send'
/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.5) lib/rack/content_length.rb:13:in `call'
rack (1.2.5) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.5) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.5) lib/rack/server.rb:217:in `start'
/home/rubys/git/rails/railties/lib/rails/commands/server.rb:65:in `start'
/home/rubys/git/rails/railties/lib/rails/commands.rb:30
/home/rubys/git/rails/railties/lib/rails/commands.rb:27:in `tap'
/home/rubys/git/rails/railties/lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
Parameters:
{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}
_csrf_token: "swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=" session_id: "80d9c14eea38722434ad816c93c080e0"
CONTENT_LENGTH: "102" CONTENT_TYPE: "application/x-www-form-urlencoded" GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "*/*" HTTP_COOKIE: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly" HTTP_HOST: "localhost:3000" 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.8.7/2011-06-30)" action_controller.instance: #<PeopleController:0x7f350cbc2328 @people=[#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">], @_response=#<ActionDispatch::Response:0x7f350cbc2030 @etag=nil, @header={}, @writer=#<Proc:0x00007f350e24d7f0@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @blank=false, @sending_file=false, @cache_control={}, @body=[], @cookie=[], @block=nil, @request=#<ActionDispatch::Request:0x7f350cbc2210 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c78c8a8 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"102", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x7f350c78d5c8>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350cbc2328 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "action_dispatch.request.content_type"=>#<Mime::Type:0x7f350e0abd48 @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0x7f350c78d5c8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @fullpath="/people", @request_method="POST", @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "utf8"=>"✓", "controller"=>"people"}>, @length=0, @status=200>, @_status=200, @_response_body=nil, @_request=#<ActionDispatch::Request:0x7f350cbc2210 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c78c8a8 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"102", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x7f350c78d5c8>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350cbc2328 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "action_dispatch.request.content_type"=>#<Mime::Type:0x7f350e0abd48 @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0x7f350c78d5c8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @fullpath="/people", @request_method="POST", @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "utf8"=>"✓", "controller"=>"people"}>, @lookup_context=#<ActionView::LookupContext:0x7f350cbc1978 @details={:handlers=>[:rxml, :builder, :rjs, :erb, :rhtml], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0x7f350fb4fe38 @caching=false, @cached={}, @path="/home/rubys/git/awdwr/edition3/work-30/namelist/app/views">], @details_key=#<ActionView::LookupContext::DetailsKey:0x7f350c7cbaf8 @hash=69932909747580>, @skip_default_locale=false>, @_headers={"Content-Type"=>"text/html"}, @view_context_class=nil, @action_has_layout=true, @_action_name="index", @person=#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">, @_params={"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c78c8a8 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"102", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x7f350c78d5c8>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350cbc2328 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "action_dispatch.request.content_type"=>#<Mime::Type:0x7f350e0abd48 @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0x7f350c78d5c8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}> action_dispatch.cookies: {"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c78c8a8 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c78c8a8 ...>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"102", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0x7f350c78d5c8>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350cbc2328 @people=[#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">], @_response=#<ActionDispatch::Response:0x7f350cbc2030 @etag=nil, @header={}, @writer=#<Proc:0x00007f350e24d7f0@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @blank=false, @sending_file=false, @cache_control={}, @body=[], @cookie=[], @block=nil, @request=#<ActionDispatch::Request:0x7f350cbc2210 @env={...}, @fullpath="/people", @request_method="POST", @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "utf8"=>"✓", "controller"=>"people"}>, @length=0, @status=200>, @_status=200, @_response_body=nil, @_request=#<ActionDispatch::Request:0x7f350cbc2210 @env={...}, @fullpath="/people", @request_method="POST", @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "utf8"=>"✓", "controller"=>"people"}>, @lookup_context=#<ActionView::LookupContext:0x7f350cbc1978 @details={:handlers=>[:rxml, :builder, :rjs, :erb, :rhtml], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0x7f350fb4fe38 @caching=false, @cached={}, @path="/home/rubys/git/awdwr/edition3/work-30/namelist/app/views">], @details_key=#<ActionView::LookupContext::DetailsKey:0x7f350c7cbaf8 @hash=69932909747580>, @skip_default_locale=false>, @_headers={"Content-Type"=>"text/html"}, @view_context_class=nil, @action_has_layout=true, @_action_name="index", @person=#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">, @_params={"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @_env={...}>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="}, "action_dispatch.request.content_type"=>#<Mime::Type:0x7f350e0abd48 @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0x7f350c78d5c8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @check_ip_spoofing=true> action_dispatch.request.accepts: [#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>] action_dispatch.request.content_type: #<Mime::Type:0x7f350e0abd48 @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form> action_dispatch.request.formats: [#<Mime::Type:0x7f350cbb2450 @synonyms=[], @string="*/*", @symbol=nil>] action_dispatch.request.parameters: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "action"=>"index", "controller"=>"people"} action_dispatch.request.path_parameters: {:action=>"index", :controller=>"people"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="} action_dispatch.request.unsigned_session_cookie: {"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"} action_dispatch.secret_token: "4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0" action_dispatch.show_exceptions: true rack.errors: #<IO:0x7f351251daa8> rack.input: #<StringIO:0x7f350c78d5c8> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"} rack.request.cookie_string: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly" rack.request.form_hash: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw="} rack.request.form_input: #<StringIO:0x7f350c78d5c8> rack.request.form_vars: "person%5bname%5d=Dave&authenticity_token=swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw%3d&utf8=%e2%9c%93" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"} rack.session.options: {:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
get /people
Showing /home/rubys/git/awdwr/edition3/work-30/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerable::Enumerator:0x7f350c953808>
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/edition3/work-30/namelist
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb__220157634_69932910623940_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb__220157634_69932910623940_0'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `send'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135: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 `_render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109: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:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308: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 `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:150: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 `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:436:in `_run__2118015101__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94: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/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138: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:178:in `action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.5) 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:182: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:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32: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/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.5) lib/rack/sendfile.rb:106: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:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.5) 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.5) lib/rack/lock.rb:13:in `call'
rack (1.2.5) lib/rack/lock.rb:13:in `synchronize'
rack (1.2.5) lib/rack/lock.rb:13: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 `send'
/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.5) lib/rack/content_length.rb:13:in `call'
rack (1.2.5) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.5) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.5) lib/rack/server.rb:217:in `start'
/home/rubys/git/rails/railties/lib/rails/commands/server.rb:65:in `start'
/home/rubys/git/rails/railties/lib/rails/commands.rb:30
/home/rubys/git/rails/railties/lib/rails/commands.rb:27:in `tap'
/home/rubys/git/rails/railties/lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb__220157634_69932910623940_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb__220157634_69932910623940_0'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135:in `send'
/home/rubys/git/rails/actionpack/lib/action_view/template.rb:135: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 `_render_template'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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:115:in `_render_template'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:109: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:102:in `render_to_string'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:93: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/benchmark.rb:308: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 `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:150: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 `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:436:in `_run__2118015101__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:94: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/rescue.rb:17:in `process_action'
/home/rubys/git/rails/actionpack/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/home/rubys/git/rails/activesupport/lib/active_support/notifications.rb:52: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/abstract_controller/base.rb:119:in `process'
/home/rubys/git/rails/actionpack/lib/abstract_controller/rendering.rb:41:in `process'
/home/rubys/git/rails/actionpack/lib/action_controller/metal.rb:138: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:178:in `action'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:68:in `dispatch'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:33:in `call'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.14) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.14) lib/rack/mount/route_set.rb:139:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/routing/route_set.rb:499:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/head.rb:14:in `call'
rack (1.2.5) 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:182: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:302:in `call'
/home/rubys/git/rails/activerecord/lib/active_record/query_cache.rb:32: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/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
/home/rubys/git/rails/actionpack/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
rack (1.2.5) lib/rack/sendfile.rb:106: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:47:in `call'
/home/rubys/git/rails/railties/lib/rails/rack/logger.rb:13:in `call'
rack (1.2.5) 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.5) lib/rack/lock.rb:13:in `call'
rack (1.2.5) lib/rack/lock.rb:13:in `synchronize'
rack (1.2.5) lib/rack/lock.rb:13: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 `send'
/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.5) lib/rack/content_length.rb:13:in `call'
rack (1.2.5) lib/rack/handler/webrick.rb:52:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.5) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.5) lib/rack/server.rb:217:in `start'
/home/rubys/git/rails/railties/lib/rails/commands/server.rb:65:in `start'
/home/rubys/git/rails/railties/lib/rails/commands.rb:30
/home/rubys/git/rails/railties/lib/rails/commands.rb:27:in `tap'
/home/rubys/git/rails/railties/lib/rails/commands.rb:27
script/rails:6:in `require'
script/rails:6
Parameters:
None
_csrf_token: "swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=" session_id: "80d9c14eea38722434ad816c93c080e0"
GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "text/html" HTTP_COOKIE: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly" HTTP_HOST: "localhost:3000" 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.8.7/2011-06-30)" action_controller.instance: #<PeopleController:0x7f350c9af090 @people=[#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">], @_response=#<ActionDispatch::Response:0x7f350c9aef00 @etag=nil, @header={}, @writer=#<Proc:0x00007f350e24d7f0@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @blank=false, @sending_file=false, @cache_control={}, @body=[], @cookie=[], @block=nil, @request=#<ActionDispatch::Request:0x7f350c9aefc8 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c9f6c10 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350c9af090 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x7f350c9f7b38>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @fullpath="/people", @request_method="GET", @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @length=0, @status=200>, @_status=200, @_response_body=nil, @_request=#<ActionDispatch::Request:0x7f350c9aefc8 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c9f6c10 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350c9af090 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x7f350c9f7b38>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @fullpath="/people", @request_method="GET", @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @lookup_context=#<ActionView::LookupContext:0x7f350c9aeb90 @details={:handlers=>[:rxml, :builder, :rjs, :erb, :rhtml], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0x7f350fb4fe38 @caching=false, @cached={}, @path="/home/rubys/git/awdwr/edition3/work-30/namelist/app/views">], @details_key=#<ActionView::LookupContext::DetailsKey:0x7f350c7cbaf8 @hash=69932909747580>, @skip_default_locale=false>, @_headers={"Content-Type"=>"text/html"}, @view_context_class=nil, @action_has_layout=true, @_action_name="index", @person=#<Person id: nil, name: nil, created_at: nil, updated_at: nil>, @_params={"action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c9f6c10 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={...}, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350c9af090 ...>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x7f350c9f7b38>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}> action_dispatch.cookies: {"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c9f6c10 @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @env={"action_dispatch.request.formats"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0x7f350c9f6c10 ...>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"}, "rack.errors"=>#<IO:0x7f351251daa8>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2011-06-30)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:action=>"index", :controller=>"people"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "action_dispatch.show_exceptions"=>true, "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0x7f350c9af090 @people=[#<Person id: 1, name: "Dave", created_at: "2012-06-29 19:16:02", updated_at: "2012-06-29 19:16:02">], @_response=#<ActionDispatch::Response:0x7f350c9aef00 @etag=nil, @header={}, @writer=#<Proc:0x00007f350e24d7f0@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @blank=false, @sending_file=false, @cache_control={}, @body=[], @cookie=[], @block=nil, @request=#<ActionDispatch::Request:0x7f350c9aefc8 @env={...}, @fullpath="/people", @request_method="GET", @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @length=0, @status=200>, @_status=200, @_response_body=nil, @_request=#<ActionDispatch::Request:0x7f350c9aefc8 @env={...}, @fullpath="/people", @request_method="GET", @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @lookup_context=#<ActionView::LookupContext:0x7f350c9aeb90 @details={:handlers=>[:rxml, :builder, :rjs, :erb, :rhtml], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0x7f350fb4fe38 @caching=false, @cached={}, @path="/home/rubys/git/awdwr/edition3/work-30/namelist/app/views">], @details_key=#<ActionView::LookupContext::DetailsKey:0x7f350c7cbaf8 @hash=69932909747580>, @skip_default_locale=false>, @_headers={"Content-Type"=>"text/html"}, @view_context_class=nil, @action_has_layout=true, @_action_name="index", @person=#<Person id: nil, name: nil, created_at: nil, updated_at: nil>, @_params={"action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @_env={...}>, "rack.session.options"=>{:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0x7f350c9f7b38>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @check_ip_spoofing=true> action_dispatch.request.accepts: [#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>] action_dispatch.request.content_type: nil action_dispatch.request.formats: [#<Mime::Type:0x7f350e0ad9b8 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>] action_dispatch.request.parameters: {"action"=>"index", "controller"=>"people"} action_dispatch.request.path_parameters: {:action=>"index", :controller=>"people"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {} action_dispatch.request.unsigned_session_cookie: {"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"} action_dispatch.secret_token: "4c4a0461e8d48d3095d6f528ac9073b457e7d6cd52a6cf5c91ac07a9751b6b2ceec988482de615ccc243d0751fae1afc199f6cd0d5fd8da501981c59e18b3af0" action_dispatch.show_exceptions: true rack.errors: #<IO:0x7f351251daa8> rack.input: #<StringIO:0x7f350c9f7b38> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA==--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16", "HttpOnly"=>nil, "path"=>"/"} rack.request.cookie_string: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMXN3TkdKcjJDcERaYmJMc1JudHMxWVpLaExWaE5aUnhCRnhtMkxVakJsUXc9Ig9zZXNzaW9uX2lkIiU4MGQ5YzE0ZWVhMzg3MjI0MzRhZDgxNmM5M2MwODBlMA%3D%3D--1f54cb8baacc14aa4bafc814b08ddabaccc2cb16; path=/; HttpOnly" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"_csrf_token"=>"swNGJr2CpDZbbLsRnts1YZKhLVhNZRxBFxm2LUjBlQw=", "session_id"=>"80d9c14eea38722434ad816c93c080e0"} rack.session.options: {:secure=>false, :httponly=>true, :expire_after=>nil, :id=>"80d9c14eea38722434ad816c93c080e0", :domain=>nil, :path=>"/"} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
sqlite3> select name,length(name) from people where name like 'G%'