17 Migration 15 Rails In Depth
ruby -rubygems /home/rubys/git/rails/bin/rails new namelist
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
Using rake (0.8.7)
Using abstract (1.0.0)
Using activesupport (3.0.1.pre) from source at /home/rubys/git/rails
Using builder (2.1.2)
Using i18n (0.4.1)
Using activemodel (3.0.1.pre) from source at /home/rubys/git/rails
Using erubis (2.6.6)
Using rack (1.2.1)
Using rack-mount (0.6.13)
Using rack-test (0.5.4)
Using tzinfo (0.3.23)
Using actionpack (3.0.1.pre) 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.1.pre) from source at /home/rubys/git/rails
Using arel (1.0.1) from source at /home/rubys/git/arel
Using activerecord (3.0.1.pre) from source at /home/rubys/git/rails
Using activeresource (3.0.1.pre) from source at /home/rubys/git/rails
Using bundler (1.0.0)
Using thor (0.14.0)
Using railties (3.0.1.pre) from source at /home/rubys/git/rails
Using rails (3.0.1.pre) 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.8.7-p302`*[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
invoke active_record
create db/migrate/20100906011411_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 20100906011411_create_people.rb 20100301000001_create_people.rb
(in /home/rubys/git/awdwr/work/namelist)
== CreatePeople: migrating ===================================================
-- create_table(:people)
-> 0.0015s
== CreatePeople: migrated (0.0016s) ==========================================
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/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerable::Enumerator:0xb607d24c>
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/namelist
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb___249175777__620494758_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___249175777__620494758_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: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/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:435:in `_run__29468547__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `send'
/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 `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/action_controller/metal/rescue.rb:17: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: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 `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.13) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.13) 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:17: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: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:287: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:355: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:415: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:46: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 `call'
rack (1.2.1) lib/rack/lock.rb:11: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 `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.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.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.1) lib/rack/server.rb:213: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___249175777__620494758_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___249175777__620494758_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: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/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:435:in `_run__29468547__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `send'
/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 `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/action_controller/metal/rescue.rb:17: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: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 `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.13) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.13) 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:17: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: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:287: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:355: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:415: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:46: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 `call'
rack (1.2.1) lib/rack/lock.rb:11: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 `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.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.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.1) lib/rack/server.rb:213: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"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}
_csrf_token: "8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=" session_id: "b1cb93c5b39d0ced633f0d61b422d9ad"
CONTENT_LENGTH: "104" CONTENT_TYPE: "application/x-www-form-urlencoded" GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "*/*" HTTP_COOKIE: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; 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/2010-08-16)" action_controller.instance: #<PeopleController:0xb60bafac @_request=#<ActionDispatch::Request:0xb60baf48 @request_method="POST", @fullpath="/people", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb60d346c @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"104", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=8OevZbW70cdZTKoV6sK%2b6fn7qjIkS0jjjDzXceRuEUA%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0xb60d3944>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb60bafac ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "action_dispatch.request.content_type"=>#<Mime::Type:0xb6a3bedc @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0xb60d3944>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "utf8"=>"✓", "controller"=>"people"}>, @_response=#<ActionDispatch::Response:0xb60baee4 @header={}, @etag=nil, @blank=false, @writer=#<Proc:0xb6b39104@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @block=nil, @cache_control={}, @sending_file=false, @cookie=[], @request=#<ActionDispatch::Request:0xb60baf48 @request_method="POST", @fullpath="/people", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb60d346c @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"104", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=8OevZbW70cdZTKoV6sK%2b6fn7qjIkS0jjjDzXceRuEUA%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0xb60d3944>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb60bafac ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "action_dispatch.request.content_type"=>#<Mime::Type:0xb6a3bedc @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0xb60d3944>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "utf8"=>"✓", "controller"=>"people"}>, @status=200, @body=[], @length=0>, @person=#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">, @_headers={"Content-Type"=>"text/html"}, @people=[#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">], @_action_name="index", @_params={"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @lookup_context=#<ActionView::LookupContext:0xb60bad40 @details_key=#<ActionView::LookupContext::DetailsKey:0xb60f0e68 @hash=-620263628>, @skip_default_locale=false, @details={:handlers=>[:erb, :rjs, :rhtml, :rxml, :builder], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0xb6c0e2dc @path="/home/rubys/git/awdwr/work/namelist/app/views", @caching=false, @cached={}>]>, @action_has_layout=true, @_status=200, @view_context_class=nil, @_response_body=nil, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb60d346c @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"104", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=8OevZbW70cdZTKoV6sK%2b6fn7qjIkS0jjjDzXceRuEUA%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0xb60d3944>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb60bafac ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "action_dispatch.request.content_type"=>#<Mime::Type:0xb6a3bedc @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0xb60d3944>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}> action_dispatch.cookies: {"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0xb60d346c @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.request.parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"*/*", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb60d346c ...>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "CONTENT_LENGTH"=>"104", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "CONTENT_TYPE"=>"application/x-www-form-urlencoded", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "rack.request.form_vars"=>"person%5bname%5d=Dave&authenticity_token=8OevZbW70cdZTKoV6sK%2b6fn7qjIkS0jjjDzXceRuEUA%3d&utf8=%e2%9c%93", "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "rack.request.form_input"=>#<StringIO:0xb60d3944>, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb60bafac @_request=#<ActionDispatch::Request:0xb60baf48 @request_method="POST", @fullpath="/people", @env={...}, @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "utf8"=>"✓", "controller"=>"people"}>, @_response=#<ActionDispatch::Response:0xb60baee4 @header={}, @etag=nil, @blank=false, @writer=#<Proc:0xb6b39104@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @block=nil, @cache_control={}, @sending_file=false, @cookie=[], @request=#<ActionDispatch::Request:0xb60baf48 @request_method="POST", @fullpath="/people", @env={...}, @method="POST", @filtered_parameters={"person"=>{"name"=>"Dave"}, "action"=>"index", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "utf8"=>"✓", "controller"=>"people"}>, @status=200, @body=[], @length=0>, @person=#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">, @_headers={"Content-Type"=>"text/html"}, @people=[#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">], @_action_name="index", @_params={"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @lookup_context=#<ActionView::LookupContext:0xb60bad40 @details_key=#<ActionView::LookupContext::DetailsKey:0xb60f0e68 @hash=-620263628>, @skip_default_locale=false, @details={:handlers=>[:erb, :rjs, :rhtml, :rxml, :builder], :locale=>[:en, :en], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0xb6c0e2dc @path="/home/rubys/git/awdwr/work/namelist/app/views", @caching=false, @cached={}>]>, @action_has_layout=true, @_status=200, @view_context_class=nil, @_response_body=nil, @_env={...}>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"POST", "rack.request.query_string"=>"", "rack.request.form_hash"=>{"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="}, "action_dispatch.request.content_type"=>#<Mime::Type:0xb6a3bedc @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form>, "rack.input"=>#<StringIO:0xb60d3944>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true> action_dispatch.request.accepts: [#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>] action_dispatch.request.content_type: #<Mime::Type:0xb6a3bedc @synonyms=[], @string="application/x-www-form-urlencoded", @symbol=:url_encoded_form> action_dispatch.request.formats: [#<Mime::Type:0xb60b5a34 @synonyms=[], @string="*/*", @symbol=nil>] action_dispatch.request.parameters: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "action"=>"index", "controller"=>"people"} action_dispatch.request.path_parameters: {:controller=>"people", :action=>"index"} action_dispatch.request.query_parameters: {} action_dispatch.request.request_parameters: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="} action_dispatch.request.unsigned_session_cookie: {"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"} action_dispatch.secret_token: "1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb" rack.errors: #<IO:0xb7454554> rack.input: #<StringIO:0xb60d3944> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"} rack.request.cookie_string: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly" rack.request.form_hash: {"person"=>{"name"=>"Dave"}, "utf8"=>"✓", "authenticity_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA="} rack.request.form_input: #<StringIO:0xb60d3944> rack.request.form_vars: "person%5bname%5d=Dave&authenticity_token=8OevZbW70cdZTKoV6sK%2b6fn7qjIkS0jjjDzXceRuEUA%3d&utf8=%e2%9c%93" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"} rack.session.options: {:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
get /people
Showing /home/rubys/git/awdwr/work/namelist/app/views/people/index.html.erb where line #9 raised:
undefined method `length' for #<Enumerable::Enumerator:0xb5fc2604>
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/namelist
app/views/people/index.html.erb:9:in `_app_views_people_index_html_erb___249175777__620860058_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___249175777__620860058_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: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/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:435:in `_run__29468547__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `send'
/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 `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/action_controller/metal/rescue.rb:17: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: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 `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.13) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.13) 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:17: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: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:287: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:355: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:415: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:46: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 `call'
rack (1.2.1) lib/rack/lock.rb:11: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 `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.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.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.1) lib/rack/server.rb:213: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___249175777__620860058_0'
app/views/people/index.html.erb:5:in `each'
app/views/people/index.html.erb:5:in `_app_views_people_index_html_erb___249175777__620860058_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: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 `render'
/home/rubys/git/rails/activesupport/lib/active_support/core_ext/benchmark.rb:5:in `ms'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/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:435:in `_run__29468547__process_action__199225275__callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `send'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:409:in `_run_process_action_callbacks'
/home/rubys/git/rails/activesupport/lib/active_support/callbacks.rb:93:in `send'
/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 `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/action_controller/metal/rescue.rb:17: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: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 `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.13) lib/rack/mount/route_set.rb:148:in `call'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:93:in `recognize'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.6.13) lib/rack/mount/code_generation.rb:92:in `recognize'
rack-mount (0.6.13) 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:17: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: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:287: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:355: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:415: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:46: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 `call'
rack (1.2.1) lib/rack/lock.rb:11: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 `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.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.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:95:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `each'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:92:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:23:in `start'
/home/rubys/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/webrick/server.rb:82:in `start'
rack (1.2.1) lib/rack/handler/webrick.rb:13:in `run'
rack (1.2.1) lib/rack/server.rb:213: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: "8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=" session_id: "b1cb93c5b39d0ced633f0d61b422d9ad"
GATEWAY_INTERFACE: "CGI/1.1" HTTP_ACCEPT: "text/html" HTTP_COOKIE: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; 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/2010-08-16)" action_controller.instance: #<PeopleController:0xb5fe63b0 @_request=#<ActionDispatch::Request:0xb5fe634c @request_method="GET", @fullpath="/people", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb6001318 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @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"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb5fe63b0 ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0xb60019a8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @_response=#<ActionDispatch::Response:0xb5fe62e8 @header={}, @etag=nil, @blank=false, @writer=#<Proc:0xb6b39104@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @block=nil, @cache_control={}, @sending_file=false, @cookie=[], @request=#<ActionDispatch::Request:0xb5fe634c @request_method="GET", @fullpath="/people", @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb6001318 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @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"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb5fe63b0 ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0xb60019a8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @status=200, @body=[], @length=0>, @person=#<Person id: nil, name: nil, created_at: nil, updated_at: nil>, @_headers={"Content-Type"=>"text/html"}, @people=[#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">], @_action_name="index", @_params={"action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @lookup_context=#<ActionView::LookupContext:0xb5fe6130 @details_key=#<ActionView::LookupContext::DetailsKey:0xb60f0e68 @hash=-620263628>, @skip_default_locale=false, @details={:locale=>[:en, :en], :handlers=>[:erb, :rjs, :rhtml, :rxml, :builder], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0xb6c0e2dc @path="/home/rubys/git/awdwr/work/namelist/app/views", @caching=false, @cached={}>]>, @action_has_layout=true, @_status=200, @view_context_class=nil, @_response_body=nil, @_env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb6001318 @env={...}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @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"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb5fe63b0 ...>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0xb60019a8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}> action_dispatch.cookies: {"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"} action_dispatch.parameter_filter: [:password] action_dispatch.remote_ip: #<ActionDispatch::RemoteIp::RemoteIpGetter:0xb6001318 @env={"action_dispatch.request.formats"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.request.parameters"=>{"action"=>"index", "controller"=>"people"}, "rack.session"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "HTTP_HOST"=>"localhost:3000", "HTTP_ACCEPT"=>"text/html", "SERVER_NAME"=>"localhost", "rack.request.cookie_hash"=>{"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"}, "action_dispatch.remote_ip"=>#<ActionDispatch::RemoteIp::RemoteIpGetter:0xb6001318 ...>, "REQUEST_PATH"=>"/", "rack.url_scheme"=>"http", "REMOTE_HOST"=>"localhost", "action_dispatch.request.query_parameters"=>{}, "action_dispatch.request.unsigned_session_cookie"=>{"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"}, "rack.errors"=>#<IO:0xb7454554>, "SERVER_PROTOCOL"=>"HTTP/1.1", "action_dispatch.request.accepts"=>[#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>], "action_dispatch.secret_token"=>"1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb", "rack.version"=>[1, 1], "rack.run_once"=>false, "SERVER_SOFTWARE"=>"WEBrick/1.3.1 (Ruby/1.8.7/2010-08-16)", "REMOTE_ADDR"=>"127.0.0.1", "PATH_INFO"=>"/people", "action_dispatch.request.path_parameters"=>{:controller=>"people", :action=>"index"}, "rack.request.cookie_string"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "SCRIPT_NAME"=>"", "action_dispatch.parameter_filter"=>[:password], "HTTP_VERSION"=>"HTTP/1.1", "rack.multithread"=>false, "HTTP_COOKIE"=>"_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly", "action_dispatch.request.request_parameters"=>{}, "action_dispatch.cookies"=>{"HttpOnly"=>nil, "_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "path"=>"/"}, "rack.multiprocess"=>false, "REQUEST_URI"=>"http://localhost:3000/people", "rack.request.query_hash"=>{}, "SERVER_PORT"=>"3000", "action_controller.instance"=>#<PeopleController:0xb5fe63b0 @_request=#<ActionDispatch::Request:0xb5fe634c @request_method="GET", @fullpath="/people", @env={...}, @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @_response=#<ActionDispatch::Response:0xb5fe62e8 @header={}, @etag=nil, @blank=false, @writer=#<Proc:0xb6b39104@/home/rubys/git/rails/actionpack/lib/action_dispatch/http/response.rb:43>, @block=nil, @cache_control={}, @sending_file=false, @cookie=[], @request=#<ActionDispatch::Request:0xb5fe634c @request_method="GET", @fullpath="/people", @env={...}, @method="GET", @filtered_parameters={"action"=>"index", "controller"=>"people"}>, @status=200, @body=[], @length=0>, @person=#<Person id: nil, name: nil, created_at: nil, updated_at: nil>, @_headers={"Content-Type"=>"text/html"}, @people=[#<Person id: 1, name: "Dave", created_at: "2010-09-06 01:14:14", updated_at: "2010-09-06 01:14:14">], @_action_name="index", @_params={"action"=>"index", "controller"=>"people"}, @_config=#<OrderedHash {}>, @lookup_context=#<ActionView::LookupContext:0xb5fe6130 @details_key=#<ActionView::LookupContext::DetailsKey:0xb60f0e68 @hash=-620263628>, @skip_default_locale=false, @details={:locale=>[:en, :en], :handlers=>[:erb, :rjs, :rhtml, :rxml, :builder], :formats=>[:html]}, @frozen_formats=true, @view_paths=[#<ActionView::FileSystemResolver:0xb6c0e2dc @path="/home/rubys/git/awdwr/work/namelist/app/views", @caching=false, @cached={}>]>, @action_has_layout=true, @_status=200, @view_context_class=nil, @_response_body=nil, @_env={...}>, "rack.session.options"=>{:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil}, "REQUEST_METHOD"=>"GET", "rack.request.query_string"=>"", "action_dispatch.request.content_type"=>nil, "rack.input"=>#<StringIO:0xb60019a8>, "QUERY_STRING"=>"", "GATEWAY_INTERFACE"=>"CGI/1.1"}, @trusted_proxies=/(^127\.0\.0\.1$|^(10|172\.(1[6-9]|2[0-9]|30|31)|192\.168)\.)/i, @check_ip_spoofing=true> action_dispatch.request.accepts: [#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>] action_dispatch.request.content_type: nil action_dispatch.request.formats: [#<Mime::Type:0xb6a3cd14 @synonyms=["application/xhtml+xml"], @string="text/html", @symbol=:html>] action_dispatch.request.parameters: {"action"=>"index", "controller"=>"people"} 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: {"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"} action_dispatch.secret_token: "1d76ed4f5fa45d35595317a1e1498295a2d7af843e0fa7b3623fe62755f0c106e2f7dab08ab655a846dfd197bd3742fdf5fde786a4f41453ec81ca5c8cf647cb" rack.errors: #<IO:0xb7454554> rack.input: #<StringIO:0xb60019a8> rack.multiprocess: false rack.multithread: false rack.request.cookie_hash: {"_namelist_session"=>"BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA==--a3594fc84bb4dab7b5157816b46e8477de2f6892", "HttpOnly"=>nil, "path"=>"/"} rack.request.cookie_string: "_namelist_session=BAh7ByIQX2NzcmZfdG9rZW4iMThPZXZaYlc3MGNkWlRLb1Y2c0srNmZuN3FqSWtTMGpqakR6WGNlUnVFVUE9Ig9zZXNzaW9uX2lkIiViMWNiOTNjNWIzOWQwY2VkNjMzZjBkNjFiNDIyZDlhZA%3D%3D--a3594fc84bb4dab7b5157816b46e8477de2f6892; path=/; HttpOnly" rack.request.query_hash: {} rack.request.query_string: "" rack.run_once: false rack.session: {"_csrf_token"=>"8OevZbW70cdZTKoV6sK+6fn7qjIkS0jjjDzXceRuEUA=", "session_id"=>"b1cb93c5b39d0ced633f0d61b422d9ad"} rack.session.options: {:domain=>nil, :httponly=>true, :secure=>false, :id=>"b1cb93c5b39d0ced633f0d61b422d9ad", :path=>"/", :expire_after=>nil} rack.url_scheme: "http" rack.version: [1, 1]
Headers:
None
sqlite3> select name,length(name) from people where name like 'G%'