  [1m[36mSQL (0.3ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.2ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [1m[35mSQL (0.1ms)[0m  PRAGMA index_list("schema_migrations")
  [1m[36mSQL (0.8ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreateOrders (20101120141627)
  [1m[36mSQL (0.3ms)[0m  [1mCREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "purchaser" varchar(255), "price" decimal, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20101120141627')
  [1m[36mSQL (0.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("orders")
  [1m[36mSQL (0.4ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mAREL (0.3ms)[0m  INSERT INTO "orders" ("purchaser", "price", "created_at", "updated_at") VALUES ('Kilgore Trout', 85.0, '2010-11-20 14:17:53.294118', '2010-11-20 14:17:53.294118')
  [1m[36mAREL (0.2ms)[0m  [1mINSERT INTO "orders" ("purchaser", "price", "created_at", "updated_at") VALUES ('John Barth', 22.0, '2010-11-20 14:17:53.355807', '2010-11-20 14:17:53.355807')[0m
  [1m[35mAREL (0.2ms)[0m  INSERT INTO "orders" ("purchaser", "price", "created_at", "updated_at") VALUES ('Kumiko Murakami', 51.0, '2010-11-20 14:17:53.357766', '2010-11-20 14:17:53.357766')
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m


Started GET "/" for 127.0.0.1 at 2010-11-20 07:18:27 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (11.1ms)
Completed 200 OK in 46ms (Views: 14.5ms | ActiveRecord: 0.5ms)


Started GET "/" for 127.0.0.1 at 2010-11-20 07:19:08 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (12.0ms)
Completed 200 OK in 46ms (Views: 15.1ms | ActiveRecord: 0.5ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:19:17 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.2ms)[0m  SELECT "orders".* FROM "orders"
Completed 406 Not Acceptable in 5ms


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:19:55 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.3ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed 406 Not Acceptable in 5ms


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:20:53 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 18ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:10:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:7:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:20:55 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.3ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:10:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:7:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:20:56 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:10:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:7:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:32:01 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:45 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 8ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:46 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:46 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:46 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:46 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:47 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:47 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:47 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:47 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:47 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 8ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:48 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:49 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:11:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:41:57 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.3ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered text template (0.0ms)
Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 0.3ms)
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
  [1m[35mOrder Load (0.5ms)[0m  SELECT "orders".* FROM "orders"


Started GET "/" for 127.0.0.1 at 2010-11-20 07:49:52 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (10.7ms)
Completed 200 OK in 69ms (Views: 13.6ms | ActiveRecord: 0.5ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:49:56 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.2ms)[0m  SELECT "orders".* FROM "orders"
Rendered text template (0.0ms)
Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.2ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 07:50:12 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered text template (0.0ms)
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.4ms)


Started GET "/" for 127.0.0.1 at 2010-11-20 13:55:52 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (10.7ms)
Completed 200 OK in 69ms (Views: 13.8ms | ActiveRecord: 0.5ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 13:55:54 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.2ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 16ms

ActionView::MissingTemplate (Missing template orders/index with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:csv], :locale=>[:en, :en]} in view paths "/Users/chad/src/rr2/Book/code/rr2/render_csv/app/views"):
  app/controllers/orders_controller.rb:10:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)


Started GET "/" for 127.0.0.1 at 2010-11-20 13:56:05 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (9.9ms)
Completed 200 OK in 18ms (Views: 12.7ms | ActiveRecord: 0.4ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 13:56:07 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 5ms

RuntimeError (wtf):
  app/controllers/orders_controller.rb:10:in `block (2 levels) in index'
  app/controllers/orders_controller.rb:8:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (30.4ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (34.3ms)


Started GET "/" for 127.0.0.1 at 2010-11-20 13:58:12 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (10.3ms)
Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 0.4ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 13:58:13 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Rendered text template (0.0ms)
Sent data orders.csv (3.5ms)
Completed 200 OK in 10ms (Views: 3.5ms | ActiveRecord: 0.4ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 13:58:23 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered text template (0.0ms)
Sent data orders.csv (0.7ms)
Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.4ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 13:58:50 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 7ms

RuntimeError ("#<Order:0x000001009507f8>,#<Order:0x00000100950208>,#<Order:0x0000010094fe98>\n"):
  app/controllers/orders_controller.rb:8:in `block in index'
  app/controllers/orders_controller.rb:6:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4.2ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.0ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 14:00:56 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.5ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "orders".* FROM "orders"
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "orders".* FROM "orders"
Rendered text template (0.0ms)
Sent data orders.csv (3.6ms)
Completed 200 OK in 90ms (Views: 3.5ms | ActiveRecord: 0.5ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 14:01:32 -0700
  Processing by OrdersController#index as CSV
  [1m[36mOrder Load (0.2ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "orders".* FROM "orders"
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "orders".* FROM "orders"
Completed   in 13ms

RuntimeError ("1,85.0,Kilgore Trout,2010-11-20 14:17:53 UTC\n2,22.0,John Barth,2010-11-20 14:17:53 UTC\n3,51.0,Kumiko Murakami,2010-11-20 14:17:53 UTC\n\n1,85.0,Kilgore Trout,2010-11-20 14:17:53 UTC\n2,22.0,John Barth,2010-11-20 14:17:53 UTC\n3,51.0,Kumiko Murakami,2010-11-20 14:17:53 UTC\n\n1,85.0,Kilgore Trout,2010-11-20 14:17:53 UTC\n2,22.0,John Barth,2010-11-20 14:17:53 UTC\n3,51.0,Kumiko Murakami,2010-11-20 14:17:53 UTC\n"):
  app/controllers/orders_controller.rb:6:in `index'

Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.7ms)
Rendered /Users/chad/.rvm/gems/ruby-1.9.2-p0/gems/actionpack-3.0.3/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.4ms)


Started GET "/" for 127.0.0.1 at 2010-11-20 14:05:04 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.4ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (10.2ms)
Completed 200 OK in 21ms (Views: 14.1ms | ActiveRecord: 0.4ms)


Started GET "/orders.csv" for 127.0.0.1 at 2010-11-20 14:05:05 -0700
  Processing by OrdersController#index as CSV
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Rendered text template (0.0ms)
Sent data orders.csv (0.8ms)
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 0.4ms)


Started GET "/" for 127.0.0.1 at 2010-11-21 08:08:11 -0700
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (0.6ms)[0m  [1mSELECT "orders".* FROM "orders"[0m
Rendered orders/index.html.erb within layouts/application (19.3ms)
Completed 200 OK in 69ms (Views: 24.9ms | ActiveRecord: 0.6ms)


Started GET "/" for 127.0.0.1 at 2010-11-21 08:08:12 -0700
  Processing by OrdersController#index as HTML
  [1m[35mOrder Load (0.4ms)[0m  SELECT "orders".* FROM "orders"
Rendered orders/index.html.erb within layouts/application (14.6ms)
Completed 200 OK in 26ms (Views: 17.9ms | ActiveRecord: 0.4ms)


Started GET "/orders/1" for 127.0.0.1 at 2010-11-21 08:08:16 -0700
  Processing by OrdersController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mSQL (0.4ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mOrder Load (0.2ms)[0m  SELECT "orders".* FROM "orders" WHERE ("orders"."id" = 1) LIMIT 1
Rendered orders/show.html.erb within layouts/application (37.5ms)
Completed 200 OK in 52ms (Views: 41.6ms | ActiveRecord: 0.5ms)
