) on line #8 of app/views/customers/_form.rhtml:
5: <%= text_field 'customer', 'company_name' %>
6:
7:
8: <%= text_field 'customer', 'name' %>
9:
10:
11: <%= text_field 'customer', 'address' %>
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1501:in `method_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:254:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:254:in `value_before_type_cast'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:168:in `to_input_field_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_helper.rb:76:in `text_field'
#{RAILS_ROOT}/app/views/customers/_form.rhtml:8
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/benchmark.rb:307:in `realtime'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:230:in `render'
#{RAILS_ROOT}/app/views/customers/edit.rhtml:4
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:06:16) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.016000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.10900 (9 reqs/sec) | Rendering: 0.01500 (13%) | DB: 0.01600 (14%) | 200 OK [http://localhost/customers]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:06:17) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:06:19) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"Maria Anders", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"1", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = 'Maria Anders', "city" = 'Berlin', "country_id" = 1, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:06:19) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:06:20) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:06:23) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"1", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = '', "city" = 'Berlin', "country_id" = 1, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:06:23) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:06:24) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.04700 (21 reqs/sec) | Rendering: 0.03100 (65%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:06:27) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"ABC", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"1", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = 'ABC', "city" = 'Berlin', "country_id" = 1, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.12500 (8 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:06:27) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:06:43) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.01500)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:06:46) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"1", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Rendering layoutfalseactionedit within layouts/customers
Rendering customers/edit
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/update/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:06:54) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"test", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"1", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = 'test', "city" = 'Berlin', "country_id" = 1, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.11000 (9 reqs/sec) | DB: 0.01600 (14%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:06:54) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:06:56) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:07:05) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"test", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"2", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = 'test', "city" = 'Berlin', "country_id" = 2, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.01500 (13%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:07:06) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:07:07) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.01600)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#update (for 127.0.0.1 at 2006-02-19 01:07:10) [POST]
Parameters: {"commit"=>"Edit", "action"=>"update", "id"=>"1", "controller"=>"customers", "customer"=>{"name"=>"test", "city"=>"Berlin", "company_name"=>"Alfreds Futterkiste", "country_id"=>"2", "states"=>"", "address"=>"Obere Str. 57"}}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mCustomer Update (0.000000)[0m [0;1mUPDATE customers SET "states" = '', "company_name" = 'Alfreds Futterkiste', "name" = 'test', "city" = 'Berlin', "country_id" = 2, "address" = 'Obere Str. 57' WHERE id = 1[0m
Redirected to http://localhost:3002/customers/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/customers/update/1]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:07:11) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:13:43) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.09400 (10 reqs/sec) | Rendering: 0.01600 (17%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:13:46) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.01600)
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/1]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:14:51) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:15:51) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
NameError (uninitialized constant Category):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:15:55) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
NameError (uninitialized constant Category):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:16:24) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
NameError (uninitialized constant Category):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:16:28) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
NameError (uninitialized constant Category):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:16:51) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
NameError (uninitialized constant Category):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:17:20) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
NameError (uninitialized constant Categories):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:155:in `render_scaffold'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:102:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:18:36) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
NameError (uninitialized constant Categories):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:155:in `render_scaffold'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:102:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:18:53) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
NameError (uninitialized constant Categories):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:155:in `render_scaffold'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:102:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:19:06) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.03100 (32 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:19:08) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.015000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.01500 (100%) | 200 OK [http://localhost/categories/edit/1]
Processing CategoriesController#show (for 127.0.0.1 at 2006-02-19 01:19:10) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/show/1]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:19:13) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/1]
Processing CategoriesController#show (for 127.0.0.1 at 2006-02-19 01:19:23) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/categories/show/1]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:19:26) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/1]
Processing CategoriesController#list (for 127.0.0.1 at 2006-02-19 01:19:27) [GET]
Parameters: {"action"=>"list", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/list]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:28:08) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:28:28) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (49%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:28:33) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.03200 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:30:20) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:30:35) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:30:37) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:30:40) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:30:41) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;36;1mCountry Load (0.016000)[0m [0;1mSELECT * FROM countries [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.01500)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.01600 (51%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#list (for 127.0.0.1 at 2006-02-19 01:30:45) [GET]
Parameters: {"action"=>"list", "controller"=>"customers"}
[4;36;1mCustomer Count (0.016000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/customers/list]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:30:46) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"customers"}
[4;35;1mCountry Load (0.015000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.04700 (21 reqs/sec) | Rendering: 0.01600 (34%) | DB: 0.01500 (31%) | 200 OK [http://localhost/customers/edit/1]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:30:48) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:31:24) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:31:25) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:31:27) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/1]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:31:28) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:06) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:32:07) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:08) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:32:08) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.015000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.01500 (100%) | 200 OK [http://localhost/categories/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:32:09) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:32:11) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:12) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:32:12) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.016000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:32:14) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.01500 (100%) | 200 OK [http://localhost/categories/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:15) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
ActionController::UnknownAction (No action responded to index):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:26) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
NameError (uninitialized constant Product):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:101:in `list'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/scaffolding.rb:94:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:32:28) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:32:28) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:48) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
ProductsController: missing default helper path products_helper
Processing ProductsController#show (for 127.0.0.1 at 2006-02-19 01:32:50) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"products"}
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.03100 (32 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/show/1]
ProductsController: missing default helper path products_helper
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:32:51) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/edit/1]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:32:54) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/products/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:32:57) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:32:58) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:33:03) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:33:04) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:05) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:33:06) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.00010 (10000 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:33:06) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/products/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:07) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:33:10) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:33:14) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:14) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (49%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#edit (for 127.0.0.1 at 2006-02-19 01:33:16) [GET]
Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"customers"}
[4;35;1mCountry Load (0.000000)[0m [0mSELECT * FROM countries [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '3') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/edit/3]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:21) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:45) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/customers/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:33:47) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:33:50) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:33:51) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.016000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/customers/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:33:51) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:34:48) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
ProductsController: missing default helper path products_helper
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:35:17) [GET]
Parameters: {"action"=>"edit", "id"=>"2", "controller"=>"products"}
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '2') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/edit/2]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:35:19) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:35:20) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:35:20) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#new (for 127.0.0.1 at 2006-02-19 01:35:23) [GET]
Parameters: {"action"=>"new", "controller"=>"categories"}
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/new]
Processing CategoriesController#create (for 127.0.0.1 at 2006-02-19 01:35:25) [POST]
Parameters: {"commit"=>"Create", "category"=>{"name"=>"", "description"=>""}, "action"=>"create", "controller"=>"categories"}
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mINSERT INTO categories ("name", "description") VALUES('', '')[0m
Redirected to http://localhost:3002/categories/list
Completed in 0.11000 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/categories/create/]
Processing CategoriesController#list (for 127.0.0.1 at 2006-02-19 01:35:25) [GET]
Parameters: {"action"=>"list", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/list]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:35:27) [GET]
Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/3]
Processing CategoriesController#list (for 127.0.0.1 at 2006-02-19 01:35:32) [GET]
Parameters: {"action"=>"list", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/list]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:35:33) [GET]
Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"categories"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/3]
Processing CategoriesController#show (for 127.0.0.1 at 2006-02-19 01:35:35) [GET]
Parameters: {"action"=>"show", "id"=>"3", "controller"=>"categories"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/show/3]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:35:36) [GET]
Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"categories"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/3]
Processing CategoriesController#update (for 127.0.0.1 at 2006-02-19 01:36:00) [POST]
Parameters: {"commit"=>"Update", "category"=>{"name"=>"", "id"=>"3", "description"=>""}, "action"=>"update", "id"=>"3", "controller"=>"categories"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/update/3]
Processing CategoriesController#update (for 127.0.0.1 at 2006-02-19 01:36:02) [POST]
Parameters: {"commit"=>"Update", "category"=>{"name"=>"test", "id"=>"3", "description"=>""}, "action"=>"update", "id"=>"3", "controller"=>"categories"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mCategory Update (0.000000)[0m [0;1mUPDATE categories SET "name" = 'test', "description" = '' WHERE id = 3[0m
Redirected to http://localhost:3002/categories/show/3
Completed in 0.09400 (10 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/categories/update/3]
Processing CategoriesController#show (for 127.0.0.1 at 2006-02-19 01:36:02) [GET]
Parameters: {"action"=>"show", "id"=>"3", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/show/3]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:36:04) [GET]
Parameters: {"action"=>"edit", "id"=>"3", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '3') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.07800 (12 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/3]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:36:22) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
ProductsController: missing default helper path products_helper
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:36:30) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.016000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/products/]
ProductsController: missing default helper path products_helper
Processing ProductsController#new (for 127.0.0.1 at 2006-02-19 01:36:32) [GET]
Parameters: {"action"=>"new", "controller"=>"products"}
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/new]
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:38:14) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.016000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.01600 (51%) | 200 OK [http://localhost/products/]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:38:15) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;36;1mProducts Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.inject) on line #7 of app/views/products/_form.rhtml:
4:
5:
6:
7: <%= collection_select("products", "category_id" ,@categories, "id", "name") -%>
8:
9:
10: <%= text_field 'products', 'name' %>
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:141:in `options_from_collection_for_select'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:306:in `to_collection_select_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:68:in `collection_select'
#{RAILS_ROOT}/app/views/products/_form.rhtml:7
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/benchmark.rb:307:in `realtime'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:230:in `render'
#{RAILS_ROOT}/app/views/products/edit.rhtml:4
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:38:52) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
NoMethodError (undefined method `belong_to' for Product:Class):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:991:in `method_missing'
/app/models/product.rb:3
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:194:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
/app/controllers/products_controller.rb:8:in `list'
/app/controllers/products_controller.rb:3:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:39:02) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
SyntaxError (./script/../config/../app/models/product.rb:3: syntax error
belong_to :category
^):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:194:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
/app/controllers/products_controller.rb:8:in `list'
/app/controllers/products_controller.rb:3:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:39:08) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
NoMethodError (undefined method `belong_to' for Product:Class):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:991:in `method_missing'
/app/models/product.rb:3
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:194:in `const_missing'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/../../inflector.rb:149:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/core_ext/string/inflections.rb:52:in `constantize'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:186:in `paginator_and_collection_for'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/pagination.rb:124:in `paginate'
/app/controllers/products_controller.rb:8:in `list'
/app/controllers/products_controller.rb:3:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:39:19) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:39:20) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;36;1mProducts Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.inject) on line #7 of app/views/products/_form.rhtml:
4:
5:
6:
7: <%= collection_select("products", "category_id" ,@categories, "id", "name") -%>
8:
9:
10: <%= text_field 'products', 'name' %>
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:141:in `options_from_collection_for_select'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:306:in `to_collection_select_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:68:in `collection_select'
#{RAILS_ROOT}/app/views/products/_form.rhtml:7
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/benchmark.rb:307:in `realtime'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:230:in `render'
#{RAILS_ROOT}/app/views/products/edit.rhtml:4
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:39:58) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:39:59) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
NameError (uninitialized constant Categories):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing'
/app/controllers/products_controller.rb:31:in `edit'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:40:23) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;36;1mCustomer Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM customers [0m
[4;35;1mCustomer Load (0.000000)[0m [0mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:40:23) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/products/]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:40:24) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProducts Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendered products/_form (0.01500)
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/edit/1]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:40:36) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:40:38) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.015000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.01500 (100%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#new (for 127.0.0.1 at 2006-02-19 01:40:39) [GET]
Parameters: {"action"=>"new", "controller"=>"categories"}
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/new]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:40:40) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:40:41) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:40:43) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.01500 (100%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#edit (for 127.0.0.1 at 2006-02-19 01:40:45) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"categories"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories WHERE (categories.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/edit/1]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:40:46) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing ProductsController#new (for 127.0.0.1 at 2006-02-19 01:40:47) [GET]
Parameters: {"action"=>"new", "controller"=>"products"}
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Rendering within layouts/products
Rendering products/new
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.inject) on line #7 of app/views/products/_form.rhtml:
4:
5:
6:
7: <%= collection_select("products", "category_id" ,@categories, "id", "name") -%>
8:
9:
10: <%= text_field 'products', 'name' %>
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:141:in `options_from_collection_for_select'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:306:in `to_collection_select_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:68:in `collection_select'
#{RAILS_ROOT}/app/views/products/_form.rhtml:7
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/benchmark.rb:307:in `realtime'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:29:in `benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:230:in `render'
#{RAILS_ROOT}/app/views/products/new.rhtml:4
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:220:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:41:13) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/categories/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:41:13) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing ProductsController#new (for 127.0.0.1 at 2006-02-19 01:41:14) [GET]
Parameters: {"action"=>"new", "controller"=>"products"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Rendering within layouts/products
Rendering products/new
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(categories)[0m
Rendered products/_form (0.01600)
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/products/new]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:41:17) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProducts Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(categories)[0m
Rendered products/_form (0.01500)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/products/edit/1]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:41:22) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProducts Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendered products/_form (0.00000)
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/edit/1]
Processing ProductsController#update (for 127.0.0.1 at 2006-02-19 01:41:23) [POST]
Parameters: {"commit"=>"Edit", "products"=>{"name"=>"HP Desktop", "price"=>"1000.0", "category_id"=>"1", "description"=>""}, "action"=>"update", "id"=>"1", "controller"=>"products"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProducts Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mProducts Update (0.000000)[0m [0mUPDATE products SET "category_id" = 1, "name" = 'HP Desktop', "description" = '', "price" = 1000.0 WHERE id = 1[0m
Redirected to http://localhost:3002/products/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/products/update/1]
Processing ProductsController#show (for 127.0.0.1 at 2006-02-19 01:41:24) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"products"}
[4;36;1mProducts Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/show
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/show/1]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:41:28) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/products/]
Processing ProductsController#edit (for 127.0.0.1 at 2006-02-19 01:41:29) [GET]
Parameters: {"action"=>"edit", "id"=>"1", "controller"=>"products"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProducts Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/edit
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendered products/_form (0.00000)
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/edit/1]
Processing ProductsController#update (for 127.0.0.1 at 2006-02-19 01:41:30) [POST]
Parameters: {"commit"=>"Edit", "products"=>{"name"=>"HP Desktop", "price"=>"1000.0", "category_id"=>"1", "description"=>""}, "action"=>"update", "id"=>"1", "controller"=>"products"}
[4;36;1mProducts Load (0.000000)[0m [0;1mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mProducts Update (0.000000)[0m [0;1mUPDATE products SET "category_id" = 1, "name" = 'HP Desktop', "description" = '', "price" = 1000.0 WHERE id = 1[0m
Redirected to http://localhost:3002/products/show/1
Completed in 0.10900 (9 reqs/sec) | DB: 0.00000 (0%) | 302 Found [http://localhost/products/update/1]
Processing ProductsController#show (for 127.0.0.1 at 2006-02-19 01:41:30) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"products"}
[4;35;1mProducts Load (0.000000)[0m [0mSELECT * FROM products WHERE (products.id = '1') LIMIT 1[0m
Rendering within layouts/products
Rendering products/show
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/show/1]
Processing CustomersController#index (for 127.0.0.1 at 2006-02-19 01:41:54) [GET]
Parameters: {"action"=>"index", "controller"=>"customers"}
[4;35;1mCustomer Count (0.000000)[0m [0mSELECT COUNT(*) FROM customers [0m
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/customers
Rendering customers/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/]
Processing CustomersController#show (for 127.0.0.1 at 2006-02-19 01:41:55) [GET]
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"customers"}
[4;36;1mCustomer Load (0.000000)[0m [0;1mSELECT * FROM customers WHERE (customers.id = '1') LIMIT 1[0m
Rendering within layouts/customers
Rendering customers/show
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(customers)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/customers/show/1]
Processing CustomersController#new (for 127.0.0.1 at 2006-02-19 01:41:57) [GET]
Parameters: {"action"=>"new", "controller"=>"customers"}
[4;36;1mCountry Load (0.000000)[0m [0;1mSELECT * FROM countries [0m
[4;35;1mCountry Load (0.016000)[0m [0mSELECT * FROM countries [0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(customers)[0m
Rendering within layouts/customers
Rendering customers/new
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(countries)[0m
Rendered customers/_form (0.00000)
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/customers/new]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:42:00) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.016000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.03100 (100%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:42:02) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.01600 (100%) | 200 OK [http://localhost/categories/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:42:04) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;35;1mProduct Count (0.000000)[0m [0mSELECT COUNT(*) FROM products [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:42:05) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01600 (62 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing ProductsController#index (for 127.0.0.1 at 2006-02-19 01:42:16) [GET]
Parameters: {"action"=>"index", "controller"=>"products"}
[4;36;1mProduct Count (0.016000)[0m [0;1mSELECT COUNT(*) FROM products [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM products LIMIT 10 OFFSET 0[0m
Rendering layoutfalseactionlist within layouts/products
Rendering products/list
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.01600 (49%) | 200 OK [http://localhost/products/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:42:17) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;36;1mCategory Count (0.000000)[0m [0;1mSELECT COUNT(*) FROM categories [0m
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing CategoriesController#index (for 127.0.0.1 at 2006-02-19 01:43:27) [GET]
Parameters: {"action"=>"index", "controller"=>"categories"}
[4;35;1mCategory Count (0.000000)[0m [0mSELECT COUNT(*) FROM categories [0m
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories LIMIT 10 OFFSET 0[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/scaffolds/layout.rhtml
Completed in 0.01500 (66 reqs/sec) | DB: 0.00000 (0%) | 200 OK [http://localhost/categories/]
Processing Base#index (for 127.0.0.1 at 2006-02-19 01:45:31) [GET]
Parameters: {}
LoadError (Already loaded file './script/../config/../app/controllers/shopping_controller.rb' but 'ShoppingController' was not set, perhaps you need to rename './script/../config/../app/controllers/shopping_controller.rb'?):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:105:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing Base#index (for 127.0.0.1 at 2006-02-19 01:46:01) [GET]
Parameters: {}
LoadError (Already loaded file './script/../config/../app/controllers/shopping_controller.rb' but 'ShoppingController' was not set, perhaps you need to rename './script/../config/../app/controllers/shopping_controller.rb'?):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:105:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing Base#index (for 127.0.0.1 at 2006-02-19 01:46:08) [GET]
Parameters: {}
LoadError (Already loaded file './script/../config/../app/controllers/shopping_controller.rb' but 'ShoppingController' was not set, perhaps you need to rename './script/../config/../app/controllers/shopping_controller.rb'?):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:105:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
Processing Base#index (for 127.0.0.1 at 2006-02-19 01:46:23) [GET]
Parameters: {}
LoadError (Already loaded file './script/../config/../app/controllers/shopping_controller.rb' but 'ShoppingController' was not set, perhaps you need to rename './script/../config/../app/controllers/shopping_controller.rb'?):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:105:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:46:33) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
ActionController::MissingTemplate (Missing template ./script/../config/../app/views/shopping/index.rhtml):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:930:in `assert_existance_of_template_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:653:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:46:49) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
Rendering shopping/index
Completed in 0.00010 (10000 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:48:45) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:50:09) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
Rendering shopping/index
ERROR: compiling _run_html_shopping_index RAISED compile error
./script/../config/../app/views/shopping/index.rhtml:4: syntax error
_erbout.concat(( options_from_collection_for_select(@categories, "id", "name", @param(:cid)) ).to_s); _erbout.concat "\n"
^
./script/../config/../app/views/shopping/index.rhtml:4: syntax error
_erbout.concat(( options_from_collection_for_select(@categories, "id", "name", @param(:cid)) ).to_s); _erbout.concat "\n"
^
Function body: def _run_html_shopping_index(local_assigns)
_erbout = ''; _erbout.concat "\n"
_erbout.concat "Current Category\n"
_erbout.concat "
\n"
_erbout.concat(( options_from_collection_for_select(@categories, "id", "name", @param(:cid)) ).to_s); _erbout.concat "
\n"
_erbout
end
Backtrace: ./script/../config/../app/views/shopping/index.rhtml:6:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:423:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:423:in `compile_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:259:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
ActionView::TemplateError (compile error
./script/../config/../app/views/shopping/index.rhtml:4: syntax error
_erbout.concat(( options_from_collection_for_select(@categories, "id", "name", @param(:cid)) ).to_s); _erbout.concat "\n"
^
./script/../config/../app/views/shopping/index.rhtml:4: syntax error
_erbout.concat(( options_from_collection_for_select(@categories, "id", "name", @param(:cid)) ).to_s); _erbout.concat "\n"
^) on line #4 of app/views/shopping/index.rhtml:
1:
2: Current Category
3:
4: <%= options_from_collection_for_select(@categories, "id", "name", @param(:cid)) -%>
#{RAILS_ROOT}/app/views/shopping/index.rhtml:6:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:423:in `module_eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:423:in `compile_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:259:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:50:17) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:50:36) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:50:43) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:53:10) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.00010 (10000 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:53:53) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:54:53) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#reload (for 127.0.0.1 at 2006-02-19 01:54:54) [POST]
Parameters: {"commit"=>"Go", "action"=>"reload", "controller"=>"shopping"}
ActionController::UnknownAction (No action responded to reload):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:55:12) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:55:13) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:55:14) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.00010 (10000 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:55:46) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.016000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.[]) on line #5 of app/views/shopping/index.rhtml:
2: Current Category
3:
4: <%= start_form_tag :action => 'index' %>
5: <%= collection_select(nil, "cid", @categories, "id", "name", params[:cid]) %>
6: <%= submit_tag "Go" %>
7: <%= end_form_tag %>
8:
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:329:in `add_options'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:306:in `to_collection_select_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:68:in `collection_select'
#{RAILS_ROOT}/app/views/shopping/index.rhtml:5
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:56:44) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
ActionView::TemplateError (undefined method `[]' for :cid:Symbol) on line #5 of app/views/shopping/index.rhtml:
2: Current Category
3:
4: <%= start_form_tag :action => 'index' %>
5: <%= collection_select(nil, "cid", @categories, "id", "name", :cid) %>
6: <%= submit_tag "Go" %>
7: <%= end_form_tag %>
8:
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:329:in `add_options'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:306:in `to_collection_select_tag'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/helpers/form_options_helper.rb:68:in `collection_select'
#{RAILS_ROOT}/app/views/shopping/index.rhtml:5
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:57:23) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:57:25) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 01:57:26) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:04:22) [GET]
Parameters: {}
SyntaxError (./script/../config/../app/controllers/shopping_controller.rb:5: syntax error
@product Product.find_by_sql ["SELECT * FROM Products WHERE category_id = ?", 1]
^):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:04:27) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:04:33) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.016000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (100%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:05:20) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each) on line #17 of app/views/shopping/index.rhtml:
14: <% end %>
15:
16:
17: <% for products in @products %>
18:
19: <% for column in Products.content_columns %>
20: | <%=h products.send(column.name) %> |
#{RAILS_ROOT}/app/views/shopping/index.rhtml:17
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:05:21) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each) on line #17 of app/views/shopping/index.rhtml:
14: <% end %>
15:
16:
17: <% for products in @products %>
18:
19: <% for column in Products.content_columns %>
20: | <%=h products.send(column.name) %> |
#{RAILS_ROOT}/app/views/shopping/index.rhtml:17
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:05:28) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each) on line #16 of app/views/shopping/index.rhtml:
13: <% end %>
14:
15:
16: <% for products in @products %>
17:
18: <% for column in Products.content_columns %>
19: | <%=h products.send(column.name) %> |
#{RAILS_ROOT}/app/views/shopping/index.rhtml:16
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:05:28) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
ActionView::TemplateError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.each) on line #16 of app/views/shopping/index.rhtml:
13: <% end %>
14:
15:
16: <% for products in @products %>
17:
18: <% for column in Products.content_columns %>
19: | <%=h products.send(column.name) %> |
#{RAILS_ROOT}/app/views/shopping/index.rhtml:16
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `render_file'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:228:in `render_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:854:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:05:52) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.016000)[0m [0;1mSELECT * FROM Products WHERE category_id = 0[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.03200 (103%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:01) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:02) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:18) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:18) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:20) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (50%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:22) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:39) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:06:40) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:35:52) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.10900 (9 reqs/sec) | Rendering: 0.01600 (14%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:35:54) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.015000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:35:56) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:35:59) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:08) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:09) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:10) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:12) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping]
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:36:33) [GET]
Parameters: {}
SyntaxError (./script/../config/../app/controllers/shopping_controller.rb:5: syntax error):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:39:in `require_or_load'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:22:in `depend_on'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:178:in `require_dependency'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:134:in `load_file!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:97:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:80:in `const_load!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:72:in `const_missing'
routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `eval'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:234:in `traverse_to_controller'
generated/routing/recognition.rb:3:in `recognize_path'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:458:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:37) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:39) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:40) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:54) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:55) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:56) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:36:58) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:37:06) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:37:07) [POST]
Parameters: {"commit"=>"Go", "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:37:47) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
NameError (undefined local variable or method `form' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:37:50) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
NameError (undefined local variable or method `forms' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:41:10) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
NameError (undefined local variable or method `category_id' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:41:23) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
NameError (undefined local variable or method `category_id' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:06) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
NameError (undefined local variable or method `post' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:09) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
NameError (undefined local variable or method `post' for #):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:36) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
NoMethodError (You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occured while evaluating nil.[]):
/app/controllers/shopping_controller.rb:5:in `index'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (500 Internal Error)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:48) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.016000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:49) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:51) [POST]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"2"}, "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:55) [POST]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:42:56) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.015000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:43:02) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:43:03) [POST]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.016000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:44:28) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#shopping_controller (for 127.0.0.1 at 2006-02-19 02:44:30) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"shopping_controller", "id"=>"index", "controller"=>"shopping"}
ActionController::UnknownAction (No action responded to shopping_controller):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:44:42) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#shopping_controller (for 127.0.0.1 at 2006-02-19 02:44:43) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"shopping_controller", "controller"=>"shopping"}
ActionController::UnknownAction (No action responded to shopping_controller):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:44:49) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#shopping (for 127.0.0.1 at 2006-02-19 02:44:50) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"shopping", "controller"=>"shopping"}
ActionController::UnknownAction (No action responded to shopping):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:44:57) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:44:57) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"1"}, "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.016000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping/?post%5Bcategory_id%5D=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:00) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"2"}, "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?post%5Bcategory_id%5D=2&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:30) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.016000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.03100 (100%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:33) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:34) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03200 (31 reqs/sec) | Rendering: 0.01600 (50%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:36) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.015000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:40) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:41) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:45:43) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"2"}, "action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.015000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.03100 (100%) | 200 OK [http://localhost/shopping/?post%5Bcategory_id%5D=2&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:07) [GET]
Parameters: {"commit"=>"Go", "post"=>{"category_id"=>"2"}, "action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.03100 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?post%5Bcategory_id%5D=2&commit=Go]
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:46:08) [GET]
Parameters: {"commit"=>"Go", "category_id"=>"1"}
ActionController::RoutingError (Recognition failed for "/%20shopping/"):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:469:in `recognition_failed'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:459:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:16) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.016000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.04700 (21 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.04700 (100%) | 200 OK [http://localhost/shopping]
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:46:17) [GET]
Parameters: {"commit"=>"Go", "category_id"=>"1"}
ActionController::RoutingError (Recognition failed for "/%20shopping/"):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:469:in `recognition_failed'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:459:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:22) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:46:24) [GET]
Parameters: {"commit"=>"Go", "category_id"=>"1"}
ActionController::RoutingError (Recognition failed for "/%20shopping/"):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:469:in `recognition_failed'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:459:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
Processing Base#index (for 127.0.0.1 at 2006-02-19 02:46:40) [GET]
Parameters: {"commit"=>"Go", "category_id"=>"1"}
ActionController::RoutingError (Recognition failed for "/%20shopping/"):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:469:in `recognition_failed'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/routing.rb:459:in `recognize!'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:42) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.09300 (10 reqs/sec) | Rendering: 0.07800 (83%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#shopping (for 127.0.0.1 at 2006-02-19 02:46:43) [GET]
Parameters: {"commit"=>"Go", "action"=>"shopping", "category_id"=>"1", "controller"=>"shopping"}
ActionController::UnknownAction (No action responded to shopping):
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `measure'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `send'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:117:in `handle_dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:83:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:155:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:144:in `start_thread'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:94:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `each'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:89:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/1.8/webrick/server.rb:79:in `start'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb:69:in `dispatch'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/servers/webrick.rb:59
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/server.rb:28
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:214:in `require'
./script/server:3
-e:3:in `load'
-e:3
Rendering C:/teaching/inf102/ruby/ruby-sqllite-pack/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/templates/rescues/layout.rhtml (404 Page Not Found)
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:47) [GET]
Parameters: {"action"=>"index", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping/]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:48) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;36;1mCategory Load (0.000000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:49) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:49) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;36;1mCategory Load (0.015000)[0m [0;1mSELECT * FROM categories [0m
[4;35;1mProduct Load (0.000000)[0m [0mSELECT * FROM Products WHERE category_id = 1[0m
Rendering shopping/index
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(categories)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01600 (51%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:57) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.01500 (48%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:46:58) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.01500 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:00) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"3", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.015000)[0m [0;1mSELECT * FROM Products WHERE category_id = NULL[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01500 (66 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (100%) | 200 OK [http://localhost/shopping/?category_id=3&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:05) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"3", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.016000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01600 (51%) | 200 OK [http://localhost/shopping/?category_id=3&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:06) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:07) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"2", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.015000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.01500 (48%) | 200 OK [http://localhost/shopping/?category_id=2&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:09) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.01600 (100%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=1&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:11) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"3", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '--- :category_id'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=3&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:21) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"3", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '3'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
Completed in 0.01600 (62 reqs/sec) | Rendering: 0.00000 (0%) | DB: 0.00000 (0%) | 200 OK [http://localhost/shopping/?category_id=3&commit=Go]
ShoppingController: missing default helper path shopping_helper
Processing ShoppingController#index (for 127.0.0.1 at 2006-02-19 02:47:22) [GET]
Parameters: {"commit"=>"Go", "action"=>"index", "category_id"=>"1", "controller"=>"shopping"}
[4;35;1mCategory Load (0.000000)[0m [0mSELECT * FROM categories [0m
[4;36;1mProduct Load (0.000000)[0m [0;1mSELECT * FROM Products WHERE category_id = '1'[0m
Rendering shopping/index
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(categories)[0m
[4;36;1mSQL (0.000000)[0m [0;1mPRAGMA table_info(products)[0m
[4;35;1mSQL (0.000000)[0m [0mPRAGMA table_info(products)[0m
Completed in 0.03100 (32 reqs/sec) | Rendering: 0.0160