  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (78.0ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("schema_migrations")
  [1m[36mSQL (62.4ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreateProducts (20110609140659)
  [1m[36mSQL (0.0ms)[0m  [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110609140659')
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")


Started GET "/say/goodbye" for 127.0.0.1 at 2011-06-09 16:58:27 +0200

ActionController::RoutingError (No route matches "/say/goodbye"):
  

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.0ms)


Started GET "/products" for 127.0.0.1 at 2011-06-09 16:58:57 +0200
  Processing by ProductsController#index as HTML
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products"[0m
Rendered products/index.html.erb within layouts/application (0.0ms)
Completed 200 OK in 296ms (Views: 15.6ms | ActiveRecord: 0.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-09 17:01:39 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (156.0ms)
Rendered products/new.html.erb within layouts/application (171.6ms)
Completed 200 OK in 203ms (Views: 187.2ms | ActiveRecord: 0.0ms)
  [1m[36mSQL (15.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (15.6ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (62.4ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (62.4ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (78.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (78.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m


Started GET "/products/new" for 127.0.0.1 at 2011-06-11 09:23:20 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (172.0ms)
Rendered products/new.html.erb within layouts/application (221.0ms)
Completed 200 OK in 328ms (Views: 258.0ms | ActiveRecord: 0.0ms)


Started POST "/products" for 127.0.0.1 at 2011-06-11 09:34:14 +0200
  Processing by ProductsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product"=>{"title"=>"Profesionální webdesign", "description"=>"Prostřednictvím praktických projektů, modelových designů a 7 komplexních vzorových řešení vám zkušený odborník představí jak základní, tak i promyšlenější koncepty designu, které vám umožní tvořit profesionálně vypadající weby pomocí nejnovějších technologií a technik. Jednotlivé přístupy jsou ilustrovány modelovými weby, jejichž zdrojové a grafické soubory naleznete k volnému použití na CD. Z knihy tak můžete čerpat nejen poučení a zdokonalení v tvůrčích technikách, ale i vydatnou inspiraci, nebo hotová řešení od webových profesionálů rovnou použít ve svých projektech. ", "image_url"=>"/images/pwd.jpg", "price"=>"587"}, "commit"=>"Create Product"}
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "products" ("title", "description", "image_url", "price", "created_at", "updated_at") VALUES ('Profesionální webdesign', 'Prostřednictvím praktických projektů, modelových designů a 7 komplexních vzorových řešení vám zkušený odborník představí jak základní, tak i promyšlenější koncepty designu, které vám umožní tvořit profesionálně vypadající weby pomocí nejnovějších technologií a technik. Jednotlivé přístupy jsou ilustrovány modelovými weby, jejichž zdrojové a grafické soubory naleznete k volnému použití na CD. Z knihy tak můžete čerpat nejen poučení a zdokonalení v tvůrčích technikách, ale i vydatnou inspiraci, nebo hotová řešení od webových profesionálů rovnou použít ve svých projektech. ', '/images/pwd.jpg', 587.0, '2011-06-11 07:34:14.984359', '2011-06-11 07:34:14.984359')
Redirected to http://localhost:3000/products/1
Completed 302 Found in 535ms


Started GET "/products/1" for 127.0.0.1 at 2011-06-11 09:34:15 +0200
  Processing by ProductsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 1 LIMIT 1[0m
Rendered products/show.html.erb within layouts/application (15.0ms)
Completed 200 OK in 59ms (Views: 39.0ms | ActiveRecord: 3.0ms)


Started GET "/products" for 127.0.0.1 at 2011-06-11 09:34:39 +0200
  Processing by ProductsController#index as HTML
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products"
Rendered products/index.html.erb within layouts/application (18.0ms)
Completed 200 OK in 67ms (Views: 50.0ms | ActiveRecord: 0.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (74.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (49.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (55.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (51.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mAREL (82.0ms)[0m  DELETE FROM "products" WHERE 1=1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "products" ("title", "description", "image_url", "price", "created_at", "updated_at") VALUES ('Profesionální webdesign', '<p>
 Prostřednictvím praktických projektů, modelových designů a 
 7 komplexních vzorových řešení vám zkušený odborník představí jak základní, 
 tak i promyšlenější koncepty designu, které vám umožní tvořit profesionálně 
 vypadající weby pomocí nejnovějších technologií a technik. 
 Jednotlivé přístupy jsou ilustrovány modelovými weby, 
 jejichž zdrojové a grafické soubory naleznete k volnému použití na CD. 
 Z knihy tak můžete čerpat nejen poučení a zdokonalení v tvůrčích technikách, 
 ale i vydatnou inspiraci, nebo hotová řešení od webových profesionálů rovnou 
 použít ve svých projektech.
 </p>', '/images/pwd.jpg', 587.0, '2011-06-11 08:00:45.319359', '2011-06-11 08:00:45.319359')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "products" ("title", "description", "image_url", "price", "created_at", "updated_at") VALUES ('Začínáme programovat v Ruby on Rails', '<p>
 Ruby on Rails je revoluční programovací nástroj, 
 jenž urychluje a zjednodušuje tvorbu webových stránek a jejich aplikací. 
 Díky zapojení přímočarého jazyka Ruby a vývojové platformy, kterou poskytuje Rails, 
 můžete ve velmi krátkém čase vytvořit plnohodnotné webové aplikace, 
 i když nejste zkušenými programátory.
 </p>', '/images/zprr.jpg', 337.0, '2011-06-11 08:00:45.453359', '2011-06-11 08:00:45.453359')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "products" ("title", "description", "image_url", "price", "created_at", "updated_at") VALUES ('jQuery, Kuchařka programátora', '<p>
 <em>Rails Test Prescriptions</em> is a comprehensive guide to testing
 Rails applications, covering Test-Driven Development from both a
 theoretical perspective (why to test) and from a practical perspective
 (how to test effectively). It covers the core Rails testing tools and
 procedures for Rails 2 and Rails 3, and introduces popular add-ons,
 including Cucumber, Shoulda, Machinist, Mocha, and Rcov.
 </p>', '/images/jqkp.jpg', 502.0, '2011-06-11 08:00:45.507359', '2011-06-11 08:00:45.507359')[0m


Started GET "/products" for 127.0.0.1 at 2011-06-11 10:02:37 +0200
  Processing by ProductsController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products"[0m
Rendered products/index.html.erb within layouts/application (307.0ms)
Completed 200 OK in 350ms (Views: 331.0ms | ActiveRecord: 1.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-11 10:28:00 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (14.0ms)
Rendered products/new.html.erb within layouts/application (25.0ms)
Completed 200 OK in 69ms (Views: 48.0ms | ActiveRecord: 0.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-11 10:28:04 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (13.0ms)
Rendered products/new.html.erb within layouts/application (24.0ms)
Completed 200 OK in 67ms (Views: 46.0ms | ActiveRecord: 0.0ms)


Started POST "/products" for 127.0.0.1 at 2011-06-11 10:28:08 +0200
  Processing by ProductsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product"=>{"title"=>"", "description"=>"", "image_url"=>"", "price"=>""}, "commit"=>"Create Product"}
Rendered products/_form.html.erb (13.0ms)
Rendered products/new.html.erb within layouts/application (25.0ms)
Completed 200 OK in 109ms (Views: 47.0ms | ActiveRecord: 0.0ms)


Started GET "/products" for 127.0.0.1 at 2011-06-11 10:30:45 +0200
  Processing by ProductsController#index as HTML
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products"
Rendered products/index.html.erb within layouts/application (24.0ms)
Completed 200 OK in 65ms (Views: 46.0ms | ActiveRecord: 0.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-11 10:30:49 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (13.0ms)
Rendered products/new.html.erb within layouts/application (24.0ms)
Completed 200 OK in 67ms (Views: 46.0ms | ActiveRecord: 0.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-11 10:30:51 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (13.0ms)
Rendered products/new.html.erb within layouts/application (23.0ms)
Completed 200 OK in 97ms (Views: 47.0ms | ActiveRecord: 0.0ms)


Started POST "/products" for 127.0.0.1 at 2011-06-11 10:32:15 +0200
  Processing by ProductsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product"=>{"title"=>"Začínáme programovat v Ruby on Rails", "description"=>"<p>Ruby on Rails je revoluční programovací nástroj, jenž urychluje a zjednodušuje tvorbu webových stránek a jejich aplikací. Díky zapojení přímočarého jazyka Ruby a vývojové platformy, kterou poskytuje Rails, můžete ve velmi krátkém čase vytvořit plnohodnotné webové aplikace, i když nejste zkušenými programátory.</p>", "image_url"=>"/images/zprr.jpg", "price"=>"blabla"}, "commit"=>"Create Product"}
Rendered products/_form.html.erb (9.0ms)
Rendered products/new.html.erb within layouts/application (19.0ms)
Completed 200 OK in 74ms (Views: 42.0ms | ActiveRecord: 0.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (55.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (59.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (58.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (65.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (826.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (77.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (73.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (99.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (96.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (1.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (199.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (129.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (128.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (96.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (147.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (84.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m


Started GET "/" for 127.0.0.1 at 2011-06-13 14:42:53 +0200
  Processing by StoreController#index as HTML
Rendered store/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 43ms (Views: 43.0ms | ActiveRecord: 0.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 15:03:38 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (20.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (283.0ms)
Completed 200 OK in 661ms (Views: 331.0ms | ActiveRecord: 20.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:26:08 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (64.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (308.0ms)
Completed 200 OK in 815ms (Views: 456.0ms | ActiveRecord: 64.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:28:33 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (11.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (46.0ms)
Completed 200 OK in 109ms (Views: 79.0ms | ActiveRecord: 11.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:44:46 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (10.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (532.0ms)
Completed 200 OK in 623ms (Views: 565.0ms | ActiveRecord: 10.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:48:49 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (74.0ms)
Completed 200 OK in 210ms (Views: 165.0ms | ActiveRecord: 1.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:49:32 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (2.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (19.0ms)
Completed 200 OK in 61ms (Views: 41.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 16:58:14 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (20.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (29.0ms)
Completed 200 OK in 90ms (Views: 50.0ms | ActiveRecord: 20.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 17:05:56 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (305.0ms)
Completed 200 OK in 606ms (Views: 326.0ms | ActiveRecord: 1.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-13 17:06:13 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (20.0ms)
Completed 200 OK in 76ms (Views: 43.0ms | ActiveRecord: 0.0ms)


Started GET "/products" for 127.0.0.1 at 2011-06-13 17:07:31 +0200
  Processing by ProductsController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered products/index.html.erb within layouts/application (179.0ms)
Completed 200 OK in 248ms (Views: 228.0ms | ActiveRecord: 1.0ms)


Started GET "/products/new" for 127.0.0.1 at 2011-06-13 17:07:37 +0200
  Processing by ProductsController#new as HTML
Rendered products/_form.html.erb (13.0ms)
Rendered products/new.html.erb within layouts/application (34.0ms)
Completed 200 OK in 80ms (Views: 57.0ms | ActiveRecord: 0.0ms)


Started POST "/products" for 127.0.0.1 at 2011-06-13 17:07:43 +0200
  Processing by ProductsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product"=>{"title"=>"", "description"=>"", "image_url"=>"", "price"=>""}, "commit"=>"Create Product"}
  [1m[35mSQL (1.0ms)[0m  SELECT 1 FROM "products" WHERE ("products"."title" = '') LIMIT 1
Rendered products/_form.html.erb (66.0ms)
Rendered products/new.html.erb within layouts/application (76.0ms)
Completed 200 OK in 141ms (Views: 99.0ms | ActiveRecord: 1.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (93.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (57.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (57.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (56.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (92.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (91.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (92.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (73.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110609140659')[0m
  [1m[36mSQL (14.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (11.0ms)[0m  [1mCREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110613194406')
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m
  [1m[36mSQL (13.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1mCREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110614073328')
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")


Started GET "/" for 127.0.0.1 at 2011-06-14 12:31:36 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (184.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (1056.0ms)
Completed 200 OK in 2389ms (Views: 1311.0ms | ActiveRecord: 184.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (13.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (100.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (50.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (66.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (72.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (73.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614073328')[0m
  [1m[35mSQL (67.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (65.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m


Started GET "/" for 127.0.0.1 at 2011-06-14 13:28:32 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (14.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (66.0ms)
Completed 200 OK in 166ms (Views: 88.0ms | ActiveRecord: 14.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-14 13:28:36 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-14 11:28:36.279000', '2011-06-14 11:28:36.279000')
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at") VALUES (2, 1, '2011-06-14 11:28:36.657000', '2011-06-14 11:28:36.657000')
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
Redirected to http://localhost:3000/carts/1
Completed 302 Found in 519ms


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 13:28:36 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
Rendered carts/show.html.erb within layouts/application (11.0ms)
Completed 200 OK in 55ms (Views: 33.0ms | ActiveRecord: 0.0ms)


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 13:34:03 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered carts/show.html.erb within layouts/application (123.0ms)
Completed 200 OK in 169ms (Views: 144.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-14 13:34:33 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered store/index.html.erb within layouts/application (23.0ms)
Completed 200 OK in 70ms (Views: 46.0ms | ActiveRecord: 1.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-14 13:34:36 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mAREL (14.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at") VALUES (2, 1, '2011-06-14 11:34:36.706000', '2011-06-14 11:34:36.706000')[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
Redirected to http://localhost:3000/carts/1
Completed 302 Found in 272ms


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 13:34:36 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered carts/show.html.erb within layouts/application (147.0ms)
Completed 200 OK in 193ms (Views: 170.0ms | ActiveRecord: 2.0ms)
  [1m[36mSQL (14.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (2.0ms)[0m  [1mALTER TABLE "line_items" ADD "quantity" integer DEFAULT 1[0m
  [1m[35mSQL (1.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110614164949')
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
Migrating to CombineItemsInCart (20110614171625)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts"[0m
  [1m[35mSQL (1.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_quantity, product_id AS product_id FROM "line_items" WHERE ("line_items".cart_id = 1) GROUP BY product_id
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 1)[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 1, '2011-06-14 18:40:35.085000', '2011-06-14 18:40:35.085000', 2)
  [1m[36mSQL (0.0ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110614171625')[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("carts")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("line_items")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m


Started POST "/line_items?product_id=3" for 127.0.0.1 at 2011-06-14 20:44:31 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"3"}
  [1m[36mCart Load (25.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (10.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 3 AND ("line_items".cart_id = 1) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (3, 1, '2011-06-14 18:44:35.748000', '2011-06-14 18:44:35.748000', 1)
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
Redirected to http://localhost:3000/carts/1
Completed 302 Found in 2167ms


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 20:44:36 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered carts/show.html.erb within layouts/application (218.0ms)
Completed 200 OK in 411ms (Views: 379.0ms | ActiveRecord: 41.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-14 20:44:51 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 1) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mUPDATE "line_items" SET "quantity" = 3, "updated_at" = '2011-06-14 18:44:51.273000' WHERE "line_items"."id" = 3[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
Redirected to http://localhost:3000/carts/1
Completed 302 Found in 222ms


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 20:44:51 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered carts/show.html.erb within layouts/application (189.0ms)
Completed 200 OK in 238ms (Views: 215.0ms | ActiveRecord: 0.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CombineItemsInCart (20110614171625)
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE (quantity > 1)[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 1, '2011-06-14 18:48:30.499000', '2011-06-14 18:48:30.499000', 1)
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 1, '2011-06-14 18:48:30.573000', '2011-06-14 18:48:30.573000', 1)[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 1, '2011-06-14 18:48:30.575000', '2011-06-14 18:48:30.575000', 1)
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 3[0m
  [1m[35mAREL (1.0ms)[0m  DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20110614171625'
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")


Started GET "/carts/1" for 127.0.0.1 at 2011-06-14 20:49:07 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered carts/show.html.erb within layouts/application (125.0ms)
Completed 200 OK in 199ms (Views: 154.0ms | ActiveRecord: 2.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
Migrating to CombineItemsInCart (20110614171625)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts"[0m
  [1m[35mSQL (0.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_quantity, product_id AS product_id FROM "line_items" WHERE ("line_items".cart_id = 1) GROUP BY product_id
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 1)[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 1, '2011-06-14 18:50:05.099000', '2011-06-14 18:50:05.099000', 3)
  [1m[36mSQL (0.0ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110614171625')[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("carts")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("line_items")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m


Started GET "/carts/blabla" for 127.0.0.1 at 2011-06-14 21:09:45 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"blabla"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 0 LIMIT 1[0m
Completed   in 24ms

ActiveRecord::RecordNotFound (Couldn't find Cart with ID=blabla):
  app/controllers/carts_controller.rb:16:in `show'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (73.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (137.0ms)


Started GET "/carts/blabla" for 127.0.0.1 at 2011-06-14 21:39:58 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"blabla"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 0 LIMIT 1
Pokus o přístup k neplatnému košíku blabla
Redirected to http://localhost:3000/
Completed 302 Found in 27ms


Started GET "/" for 127.0.0.1 at 2011-06-14 21:39:58 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (15.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (215.0ms)
Completed 200 OK in 291ms (Views: 239.0ms | ActiveRecord: 16.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 09:42:41 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (23.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (445.0ms)
Completed 200 OK in 1118ms (Views: 485.0ms | ActiveRecord: 23.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-15 09:42:57 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 1) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  UPDATE "line_items" SET "quantity" = 4, "updated_at" = '2011-06-15 07:42:57.983155' WHERE "line_items"."id" = 8
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1[0m
Redirected to http://localhost:3000/carts/1
Completed 302 Found in 474ms


Started GET "/carts/1" for 127.0.0.1 at 2011-06-15 09:42:58 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered carts/show.html.erb within layouts/application (148.0ms)
Completed 200 OK in 198ms (Views: 173.0ms | ActiveRecord: 2.0ms)


Started POST "/carts/1" for 127.0.0.1 at 2011-06-15 09:43:05 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"1"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 1 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 1)[0m
  [1m[35mAREL (3.0ms)[0m  DELETE FROM "line_items" WHERE "line_items"."id" = 4
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 8[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 1
Redirected to http://localhost:3000/
Completed 302 Found in 152ms


Started GET "/" for 127.0.0.1 at 2011-06-15 09:43:05 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered store/index.html.erb within layouts/application (24.0ms)
Completed 200 OK in 77ms (Views: 51.0ms | ActiveRecord: 1.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-15 10:25:34 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-15 08:25:35.103155', '2011-06-15 08:25:35.103155')
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 2) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 2, '2011-06-15 08:25:35.322155', '2011-06-15 08:25:35.322155', 1)[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
Redirected to http://localhost:3000/carts/2
Completed 302 Found in 328ms


Started GET "/carts/2" for 127.0.0.1 at 2011-06-15 10:25:35 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered carts/show.html.erb within layouts/application (128.0ms)
Completed 200 OK in 182ms (Views: 156.0ms | ActiveRecord: 6.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-15 10:25:45 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 2) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mUPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-15 08:25:45.263155' WHERE "line_items"."id" = 9[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
Redirected to http://localhost:3000/carts/2
Completed 302 Found in 189ms


Started GET "/carts/2" for 127.0.0.1 at 2011-06-15 10:25:45 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered carts/show.html.erb within layouts/application (158.0ms)
Completed 200 OK in 210ms (Views: 182.0ms | ActiveRecord: 3.0ms)


Started POST "/line_items?product_id=3" for 127.0.0.1 at 2011-06-15 10:25:49 +0200
  Processing by LineItemsController#create as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"3"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 3 AND ("line_items".cart_id = 2) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (3, 2, '2011-06-15 08:25:49.475155', '2011-06-15 08:25:49.475155', 1)[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
Redirected to http://localhost:3000/carts/2
Completed 302 Found in 244ms


Started GET "/carts/2" for 127.0.0.1 at 2011-06-15 10:25:49 +0200
  Processing by CartsController#show as HTML
  Parameters: {"id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered carts/show.html.erb within layouts/application (102.0ms)
Completed 200 OK in 150ms (Views: 122.0ms | ActiveRecord: 8.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 17:25:02 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (139.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
  [1m[36mLineItem Load (8.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (66.0ms)
Rendered carts/_cart.html.erb (203.0ms)
Rendered store/index.html.erb within layouts/application (602.0ms)
Completed 200 OK in 2090ms (Views: 922.0ms | ActiveRecord: 148.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 17:27:56 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (27.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (60.0ms)
Rendered carts/_cart.html.erb (109.0ms)
Rendered store/index.html.erb within layouts/application (160.0ms)
Completed 200 OK in 307ms (Views: 182.0ms | ActiveRecord: 30.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 17:28:47 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (11.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (33.0ms)
Rendered carts/_cart.html.erb (76.0ms)
Rendered store/index.html.erb within layouts/application (117.0ms)
Completed 200 OK in 245ms (Views: 140.0ms | ActiveRecord: 14.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 17:30:13 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (33.0ms)
Rendered carts/_cart.html.erb (75.0ms)
Rendered store/index.html.erb within layouts/application (109.0ms)
Completed 200 OK in 207ms (Views: 129.0ms | ActiveRecord: 4.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 17:30:29 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (47.0ms)
Rendered carts/_cart.html.erb (89.0ms)
Rendered store/index.html.erb within layouts/application (192.0ms)
Completed 200 OK in 263ms (Views: 212.0ms | ActiveRecord: 5.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-15 22:06:32 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (136.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (247.0ms)
Rendered carts/_cart.html.erb (802.0ms)
Rendered store/index.html.erb within layouts/application (1833.0ms)
Completed 200 OK in 3747ms (Views: 2020.0ms | ActiveRecord: 138.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-15 22:06:50 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 2) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 3, "updated_at" = '2011-06-15 20:06:50.613000' WHERE "line_items"."id" = 9
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (27.0ms)
Rendered carts/_cart.html.erb (37.0ms)
Rendered line_items/create.js.rjs (77.0ms)
Completed 200 OK in 1158ms (Views: 466.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 12:08:17 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (25.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (22.0ms)
Rendered carts/_cart.html.erb (194.0ms)
Rendered store/index.html.erb within layouts/application (871.0ms)
Completed 200 OK in 1544ms (Views: 924.0ms | ActiveRecord: 26.0ms)


Started POST "/carts/2" for 127.0.0.1 at 2011-06-16 12:10:41 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 2 LIMIT 1[0m
  [1m[35mLineItem Load (3.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 2)
  [1m[36mAREL (2.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 9[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "line_items" WHERE "line_items"."id" = 10
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "carts" WHERE "carts"."id" = 2[0m
Redirected to http://localhost:3000/
Completed 302 Found in 139ms


Started GET "/" for 127.0.0.1 at 2011-06-16 12:10:41 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 10:10:41.798200', '2011-06-16 10:10:41.798200')[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (33.0ms)
Rendered store/index.html.erb within layouts/application (60.0ms)
Completed 200 OK in 275ms (Views: 81.0ms | ActiveRecord: 9.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 12:10:52 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 3 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 3) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 3, '2011-06-16 10:10:52.764200', '2011-06-16 10:10:52.764200', 1)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (26.0ms)
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 480ms (Views: 175.0ms | ActiveRecord: 6.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 12:11:32 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 3 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 3) LIMIT 1[0m
  [1m[35mAREL (12.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 10:11:32.559200' WHERE "line_items"."id" = 11
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (51.0ms)
Rendered line_items/create.js.rjs (58.0ms)
Completed 200 OK in 287ms (Views: 101.0ms | ActiveRecord: 15.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 12:11:41 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 3 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 3) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 3, "updated_at" = '2011-06-16 10:11:41.438200' WHERE "line_items"."id" = 11
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 324ms (Views: 77.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 12:11:44 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (2.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 3 LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (28.0ms)
Rendered carts/_cart.html.erb (123.0ms)
Rendered store/index.html.erb within layouts/application (157.0ms)
Completed 200 OK in 230ms (Views: 178.0ms | ActiveRecord: 3.0ms)


Started POST "/carts/3" for 127.0.0.1 at 2011-06-16 12:12:31 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"3"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 3 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 3)
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 11[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 3
Redirected to http://localhost:3000/
Completed 302 Found in 137ms


Started GET "/" for 127.0.0.1 at 2011-06-16 12:12:31 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 10:12:31.967200', '2011-06-16 10:12:31.967200')
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (32.0ms)
Rendered store/index.html.erb within layouts/application (60.0ms)
Completed 200 OK in 199ms (Views: 82.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 12:12:34 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (154.0ms)
Rendered store/index.html.erb within layouts/application (187.0ms)
Completed 200 OK in 259ms (Views: 210.0ms | ActiveRecord: 1.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 12:12:37 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 4) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 4, '2011-06-16 10:12:37.777200', '2011-06-16 10:12:37.777200', 1)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
Rendered line_items/create.js.rjs (33.0ms)
Completed 200 OK in 359ms (Views: 78.0ms | ActiveRecord: 5.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 12:12:41 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 4) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 10:12:41.997200' WHERE "line_items"."id" = 12
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (24.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 267ms (Views: 77.0ms | ActiveRecord: 4.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:13:44 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (30.0ms)
Rendered carts/_cart.html.erb (71.0ms)
Rendered store/index.html.erb within layouts/application (155.0ms)
Completed 200 OK in 249ms (Views: 199.0ms | ActiveRecord: 3.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:13:49 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 4) LIMIT 1[0m
  [1m[35mAREL (3.0ms)[0m  UPDATE "line_items" SET "quantity" = 3, "updated_at" = '2011-06-16 11:13:49.417200' WHERE "line_items"."id" = 12
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 334ms (Views: 79.0ms | ActiveRecord: 5.0ms)


Started POST "/carts/4" for 127.0.0.1 at 2011-06-16 13:17:26 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"4"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 4 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 4)
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 12[0m
  [1m[35mAREL (1.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 4
Redirected to http://localhost:3000/
Completed 302 Found in 149ms


Started GET "/" for 127.0.0.1 at 2011-06-16 13:17:26 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 11:17:26.478200', '2011-06-16 11:17:26.478200')
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 5)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (35.0ms)
Rendered store/index.html.erb within layouts/application (66.0ms)
Completed 200 OK in 225ms (Views: 88.0ms | ActiveRecord: 6.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:17:29 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 5 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 5)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (37.0ms)
Rendered store/index.html.erb within layouts/application (70.0ms)
Completed 200 OK in 143ms (Views: 94.0ms | ActiveRecord: 3.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:17:32 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 5 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 5) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 5, '2011-06-16 11:17:32.778200', '2011-06-16 11:17:32.778200', 1)
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 5)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 310ms (Views: 73.0ms | ActiveRecord: 5.0ms)


Started POST "/carts/5" for 127.0.0.1 at 2011-06-16 13:18:04 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"5"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 5 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 5)
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 13[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 5
Redirected to http://localhost:3000/
Completed 302 Found in 146ms


Started GET "/" for 127.0.0.1 at 2011-06-16 13:18:04 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 11:18:05.035200', '2011-06-16 11:18:05.035200')
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (33.0ms)
Rendered store/index.html.erb within layouts/application (61.0ms)
Completed 200 OK in 212ms (Views: 82.0ms | ActiveRecord: 6.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:18:07 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 6 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (33.0ms)
Rendered store/index.html.erb within layouts/application (67.0ms)
Completed 200 OK in 138ms (Views: 88.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:18:09 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 6 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (33.0ms)
Rendered store/index.html.erb within layouts/application (96.0ms)
Completed 200 OK in 172ms (Views: 120.0ms | ActiveRecord: 2.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:18:11 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 6 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 6) LIMIT 1
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 6, '2011-06-16 11:18:11.401200', '2011-06-16 11:18:11.401200', 1)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (26.0ms)
Rendered line_items/create.js.rjs (33.0ms)
Completed 200 OK in 288ms (Views: 76.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:21:04 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 6 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 6) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mUPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 11:21:04.506200' WHERE "line_items"."id" = 14[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (24.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 271ms (Views: 76.0ms | ActiveRecord: 5.0ms)


Started POST "/carts/6" for 127.0.0.1 at 2011-06-16 13:21:51 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"6"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 6 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 6)[0m
  [1m[35mAREL (2.0ms)[0m  DELETE FROM "line_items" WHERE "line_items"."id" = 14
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "carts" WHERE "carts"."id" = 6[0m
Redirected to http://localhost:3000/
Completed 302 Found in 162ms


Started GET "/" for 127.0.0.1 at 2011-06-16 13:21:52 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 11:21:52.396200', '2011-06-16 11:21:52.396200')[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 7)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (32.0ms)
Rendered store/index.html.erb within layouts/application (61.0ms)
Completed 200 OK in 246ms (Views: 83.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:21:55 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 7 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 7) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 7, '2011-06-16 11:21:56.030200', '2011-06-16 11:21:56.030200', 1)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 7)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (13.0ms)
Rendered carts/_cart.html.erb (24.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 292ms (Views: 104.0ms | ActiveRecord: 6.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:21:58 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 7 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 7)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (33.0ms)
Rendered carts/_cart.html.erb (106.0ms)
Rendered store/index.html.erb within layouts/application (140.0ms)
Completed 200 OK in 213ms (Views: 164.0ms | ActiveRecord: 1.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:22:04 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 7 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 7) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 11:22:04.278200' WHERE "line_items"."id" = 15
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 7)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (26.0ms)
Rendered line_items/create.js.rjs (33.0ms)
Completed 200 OK in 275ms (Views: 76.0ms | ActiveRecord: 5.0ms)


Started POST "/carts/7" for 127.0.0.1 at 2011-06-16 13:22:47 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"7"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 7 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 7)
  [1m[36mAREL (2.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 15[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 7
Redirected to http://localhost:3000/
Completed 302 Found in 196ms


Started GET "/" for 127.0.0.1 at 2011-06-16 13:22:47 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 11:22:47.532200', '2011-06-16 11:22:47.532200')
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (66.0ms)
Rendered store/index.html.erb within layouts/application (95.0ms)
Completed 200 OK in 256ms (Views: 123.0ms | ActiveRecord: 7.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 13:22:50 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (32.0ms)
Rendered store/index.html.erb within layouts/application (93.0ms)
Completed 200 OK in 166ms (Views: 115.0ms | ActiveRecord: 1.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:22:51 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 8) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 8, '2011-06-16 11:22:52.147200', '2011-06-16 11:22:52.147200', 1)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
Rendered line_items/create.js.rjs (32.0ms)
Completed 200 OK in 301ms (Views: 78.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 13:23:09 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 8) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 11:23:09.397200' WHERE "line_items"."id" = 16
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (26.0ms)
Rendered line_items/create.js.rjs (38.0ms)
Completed 200 OK in 349ms (Views: 85.0ms | ActiveRecord: 5.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 14:40:21 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (187.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)
  [1m[36mProduct Load (9.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (126.0ms)
Rendered carts/_cart.html.erb (162.0ms)
Rendered store/index.html.erb within layouts/application (759.0ms)
Completed 200 OK in 1772ms (Views: 929.0ms | ActiveRecord: 198.0ms)


Started POST "/carts/8" for 127.0.0.1 at 2011-06-16 14:40:52 +0200

SyntaxError (c:/_Projects/_code/K1958/depot/app/controllers/carts_controller.rb:19: invalid multibyte char (US-ASCII)
c:/_Projects/_code/K1958/depot/app/controllers/carts_controller.rb:19: invalid multibyte char (US-ASCII)
c:/_Projects/_code/K1958/depot/app/controllers/carts_controller.rb:19: syntax error, unexpected $end, expecting keyword_end
...      logger.error "Pokus o p��stup k neplatn�mu ko��ku #{pa...
...                               ^):
  

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (26.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (13.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (130.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 14:41:27 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 8)
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (57.0ms)
Rendered carts/_cart.html.erb (67.0ms)
Rendered store/index.html.erb within layouts/application (131.0ms)
Completed 200 OK in 231ms (Views: 152.0ms | ActiveRecord: 1.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 14:42:02 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (40.0ms)
Rendered carts/_cart.html.erb (50.0ms)
DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_layouts_application_html_erb__733953799_34384200_167011947 at c:/_Projects/_code/K1958/depot/app/views/layouts/application.html.erb:17)
Rendered store/index.html.erb within layouts/application (180.0ms)
Completed 200 OK in 256ms (Views: 202.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 14:42:47 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 8)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (26.0ms)
Rendered carts/_cart.html.erb (36.0ms)
DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_layouts_application_html_erb__733953799_34385208_167011947 at c:/_Projects/_code/K1958/depot/app/views/layouts/application.html.erb:17)
Rendered store/index.html.erb within layouts/application (129.0ms)
Completed 200 OK in 199ms (Views: 148.0ms | ActiveRecord: 4.0ms)


Started POST "/carts/8" for 127.0.0.1 at 2011-06-16 14:42:50 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"8"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 8 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 8)
  [1m[36mAREL (15.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 16[0m
  [1m[35mAREL (0.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 8
Redirected to http://localhost:3000/
Completed 302 Found in 335ms


Started GET "/" for 127.0.0.1 at 2011-06-16 14:42:51 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 12:42:51.696200', '2011-06-16 12:42:51.696200')
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 9)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_layouts_application_html_erb__733953799_35553324_167011947 at c:/_Projects/_code/K1958/depot/app/views/layouts/application.html.erb:17)
Rendered store/index.html.erb within layouts/application (64.0ms)
Completed 200 OK in 335ms (Views: 85.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 14:42:59 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 9 LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 9) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 9, '2011-06-16 12:42:59.824200', '2011-06-16 12:42:59.824200', 1)[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 9)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (36.0ms)
  [1m[35mSQL (1.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 9)
Rendered line_items/create.js.rjs (57.0ms)
Completed 200 OK in 442ms (Views: 99.0ms | ActiveRecord: 5.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 14:43:04 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 9 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 9) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 12:43:04.947200' WHERE "line_items"."id" = 17
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 9)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (25.0ms)
  [1m[36mSQL (1.0ms)[0m  [1mSELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 9)[0m
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 295ms (Views: 78.0ms | ActiveRecord: 22.0ms)


Started POST "/carts/9" for 127.0.0.1 at 2011-06-16 14:43:08 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"9"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 9 LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 9)[0m
  [1m[35mAREL (1.0ms)[0m  DELETE FROM "line_items" WHERE "line_items"."id" = 17
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "carts" WHERE "carts"."id" = 9[0m
Redirected to http://localhost:3000/
Completed 302 Found in 196ms


Started GET "/" for 127.0.0.1 at 2011-06-16 14:43:09 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 12:43:09.149200', '2011-06-16 12:43:09.149200')[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 10)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
DEPRECATION WARNING: <% %> style block helpers are deprecated. Please use <%= %>. (called from _app_views_layouts_application_html_erb__733953799_47318040_167011947 at c:/_Projects/_code/K1958/depot/app/views/layouts/application.html.erb:17)
Rendered store/index.html.erb within layouts/application (63.0ms)
Completed 200 OK in 363ms (Views: 84.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 14:43:52 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 10 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 10)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (120.0ms)
Completed 200 OK in 191ms (Views: 141.0ms | ActiveRecord: 3.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 14:43:54 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 10 LIMIT 1
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 10) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity") VALUES (2, 10, '2011-06-16 12:43:55.073200', '2011-06-16 12:43:55.073200', 1)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 10)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (26.0ms)
  [1m[35mSQL (1.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 10)
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 418ms (Views: 79.0ms | ActiveRecord: 5.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-16 14:43:57 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 10 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 10) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-16 12:43:57.707200' WHERE "line_items"."id" = 18
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 10)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (25.0ms)
  [1m[36mSQL (0.0ms)[0m  [1mSELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 10)[0m
Rendered line_items/create.js.rjs (57.0ms)
Completed 200 OK in 331ms (Views: 102.0ms | ActiveRecord: 4.0ms)


Started POST "/carts/10" for 127.0.0.1 at 2011-06-16 14:44:05 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "id"=>"10"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 10 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 10)[0m
  [1m[35mAREL (2.0ms)[0m  DELETE FROM "line_items" WHERE "line_items"."id" = 18
  [1m[36mAREL (0.0ms)[0m  [1mDELETE FROM "carts" WHERE "carts"."id" = 10[0m
Redirected to http://localhost:3000/
Completed 302 Found in 264ms


Started GET "/" for 127.0.0.1 at 2011-06-16 14:44:05 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-16 12:44:05.823200', '2011-06-16 12:44:05.823200')[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (2.0ms)
Rendered store/index.html.erb within layouts/application (67.0ms)
Completed 200 OK in 359ms (Views: 88.0ms | ActiveRecord: 4.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (251.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (215.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (501.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (220.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (298.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (471.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614171625')[0m
  [1m[35mSQL (286.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (250.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (480.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (284.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m


Started GET "/products/" for 127.0.0.1 at 2011-06-16 16:22:33 +0200
  Processing by ProductsController#index as HTML
  [1m[36mProduct Load (58.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Rendered products/index.html.erb within layouts/application (1270.0ms)
Completed   in 2426ms

ActionView::Template::Error (undefined method `line_items' for nil:NilClass):
    14:   </div>

    15:   <div id="columns">                                

    16:     <div id="side">

    17:       <%= hidden_div_if(@cart.line_items.empty?, :id => "cart") do %>

    18:         <%= render @cart %>

    19:       <% end %>

    20: 

  app/views/layouts/application.html.erb:17:in `_app_views_layouts_application_html_erb__733953799_35211072_167011947'
  app/controllers/products_controller.rb:7:in `index'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (160.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (274.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (61.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (56.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (73.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (74.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (74.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (73.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614171625')[0m
  [1m[35mSQL (74.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (74.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[36mSQL (2.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (90.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (72.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (66.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (74.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (74.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614171625')[0m
  [1m[35mSQL (74.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (67.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (66.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (66.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (106.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (51.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (57.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (66.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (65.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614171625')[0m
  [1m[35mSQL (83.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (50.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (57.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (51.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m


Started GET "/products/" for 127.0.0.1 at 2011-06-16 21:55:56 +0200
  Processing by ProductsController#index as HTML
  [1m[35mProduct Load (94.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
Rendered products/index.html.erb within layouts/application (898.0ms)
Completed 200 OK in 2391ms (Views: 1196.0ms | ActiveRecord: 94.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-16 21:56:11 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (20.0ms)
Rendered store/index.html.erb within layouts/application (584.0ms)
Completed 200 OK in 816ms (Views: 607.0ms | ActiveRecord: 1.0ms)
  [1m[36mSQL (13.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
Migrating to CombineItemsInCart (20110614171625)
Migrating to CreateOrders (20110617073607)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (2.0ms)[0m  [1mCREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110617073607')
Migrating to AddOrderIdToLineItem (20110617073654)
  [1m[36mSQL (1.0ms)[0m  [1mALTER TABLE "line_items" ADD "order_id" integer[0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110617073654')
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("orders")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m


Started GET "/" for 127.0.0.1 at 2011-06-17 10:49:08 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (2.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (577.0ms)
Completed 200 OK in 1133ms (Views: 613.0ms | ActiveRecord: 2.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-17 10:49:32 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 11) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id") VALUES (2, 11, '2011-06-17 08:49:32.910495', '2011-06-17 08:49:32.910495', 1, NULL)
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (26.0ms)
  [1m[36mSQL (1.0ms)[0m  [1mSELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 409ms (Views: 143.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=2" for 127.0.0.1 at 2011-06-17 10:49:42 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"2"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 11) LIMIT 1
  [1m[36mAREL (1.0ms)[0m  [1mUPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-17 08:49:42.530495' WHERE "line_items"."id" = 19[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
  [1m[35mSQL (0.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered line_items/create.js.rjs (34.0ms)
Completed 200 OK in 275ms (Views: 76.0ms | ActiveRecord: 5.0ms)


Started POST "/line_items?product_id=3" for 127.0.0.1 at 2011-06-17 10:49:46 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"3"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 3 AND ("line_items".cart_id = 11) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id") VALUES (3, 11, '2011-06-17 08:49:47.068495', '2011-06-17 08:49:47.068495', 1, NULL)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (16.0ms)
Rendered carts/_cart.html.erb (28.0ms)
  [1m[35mSQL (0.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered line_items/create.js.rjs (36.0ms)
Completed 200 OK in 355ms (Views: 78.0ms | ActiveRecord: 4.0ms)


Started POST "/line_items?product_id=3" for 127.0.0.1 at 2011-06-17 10:49:49 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "product_id"=>"3"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 3 AND ("line_items".cart_id = 11) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "quantity" = 2, "updated_at" = '2011-06-17 08:49:49.756495' WHERE "line_items"."id" = 20
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (15.0ms)
Rendered carts/_cart.html.erb (27.0ms)
  [1m[35mSQL (0.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 277ms (Views: 77.0ms | ActiveRecord: 5.0ms)


Started GET "/orders/new" for 127.0.0.1 at 2011-06-17 10:49:52 +0200
  Processing by OrdersController#new as HTML
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (14.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (90.0ms)
Rendered carts/_cart.html.erb (108.0ms)
Rendered orders/new.html.erb within layouts/application (140.0ms)
Completed 200 OK in 271ms (Views: 159.0ms | ActiveRecord: 4.0ms)


Started GET "/orders/new" for 127.0.0.1 at 2011-06-17 10:51:47 +0200
  Processing by OrdersController#new as HTML
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (11.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (91.0ms)
Rendered carts/_cart.html.erb (101.0ms)
Rendered orders/new.html.erb within layouts/application (131.0ms)
Completed 200 OK in 229ms (Views: 151.0ms | ActiveRecord: 2.0ms)


Started GET "/orders/new" for 127.0.0.1 at 2011-06-17 10:52:55 +0200
  Processing by OrdersController#new as HTML
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (10.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (63.0ms)
Rendered carts/_cart.html.erb (73.0ms)
Rendered orders/new.html.erb within layouts/application (102.0ms)
Completed 200 OK in 225ms (Views: 122.0ms | ActiveRecord: 1.0ms)


Started GET "/orders/new" for 127.0.0.1 at 2011-06-17 16:50:38 +0200
  Processing by OrdersController#new as HTML
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (61.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mLineItem Load (2.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (197.0ms)
Rendered carts/_cart.html.erb (212.0ms)
Rendered orders/new.html.erb within layouts/application (299.0ms)
Completed 200 OK in 838ms (Views: 373.0ms | ActiveRecord: 4.0ms)


Started POST "/orders" for 127.0.0.1 at 2011-06-17 16:50:45 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Závazně objednat"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (16.0ms)
Rendered orders/new.html.erb within layouts/application (39.0ms)
Completed 200 OK in 287ms (Views: 76.0ms | ActiveRecord: 2.0ms)


Started GET "/orders/new" for 127.0.0.1 at 2011-06-17 16:54:14 +0200
  Processing by OrdersController#new as HTML
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)
Rendered orders/_form.html.erb (10.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mLineItem Load (2.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (93.0ms)
Rendered carts/_cart.html.erb (104.0ms)
Rendered orders/new.html.erb within layouts/application (133.0ms)
Completed 200 OK in 304ms (Views: 153.0ms | ActiveRecord: 2.0ms)


Started POST "/orders" for 127.0.0.1 at 2011-06-17 16:57:39 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"+RFRPLNVKNz5CoCwnxHuNo48L7H9vUBx+0U3V/n/vWI=", "order"=>{"name"=>"Jakub Dunda", "address"=>"Přímá 123\r\nBrno", "email"=>"jakub@nekde.cz", "pay_type"=>"Dobírka"}, "commit"=>"Závazně objednat"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)
  [1m[36mAREL (18.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Jakub Dunda', 'Přímá 123

Brno', 'jakub@nekde.cz', 'Dobírka', '2011-06-17 14:57:39.743000', '2011-06-17 14:57:39.743000')[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "cart_id" = NULL, "order_id" = 1, "updated_at" = '2011-06-17 14:57:39.921000' WHERE "line_items"."id" = 19
  [1m[36mAREL (1.0ms)[0m  [1mUPDATE "line_items" SET "cart_id" = NULL, "order_id" = 1, "updated_at" = '2011-06-17 14:57:39.968000' WHERE "line_items"."id" = 20[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 11 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 11)[0m
  [1m[35mAREL (1.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 11
Redirected to http://localhost:3000/
Completed 302 Found in 752ms


Started GET "/" for 127.0.0.1 at 2011-06-17 16:57:40 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (10.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-17 14:57:40.461000', '2011-06-17 14:57:40.461000')
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 12)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (117.0ms)
Completed 200 OK in 342ms (Views: 137.0ms | ActiveRecord: 35.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:09:55 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered products/who_bought.atom.builder (694.0ms)
Completed   in 2099ms

ActionView::Template::Error (undefined method `﻿atom_feed' for #<#<Class:0x3f9d0b0>:0x3f9b9d0>):
    1: ﻿atom_feed do |feed|

    2:   feed.title "Kdo zakoupil #{@product.title}"

    3: 

    4:   latest_order = @product.orders.sort_by(&:updated_at).last

  app/views/products/who_bought.atom.builder:1:in `_app_views_products_who_bought_atom_builder___192553255_33337584_628337370'
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (10.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (72.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:10:38 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered products/who_bought.atom.builder (93.0ms)
Completed   in 243ms

ActionView::Template::Error (undefined method `﻿atom_feed' for #<#<Class:0x45249d8>:0x4522a88>):
    1: ﻿atom_feed do |feed|

    2:   feed.title "Kdo zakoupil #{@product.title}"

    3: 

    4:   latest_order = @product.orders.sort_by(&:updated_at).last

  app/views/products/who_bought.atom.builder:1:in `_app_views_products_who_bought_atom_builder___192553255_36242532_628337370'
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (34.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:11:47 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered products/who_bought.atom.builder (0.0ms)
Completed   in 56ms

ActionView::Template::Error (Your template was not saved as valid UTF-8. Please either specify UTF-8 as the encoding for your template in your text editor, or mark the template with its encoding by inserting the following as the first line of the template:

# encoding: <name of correct encoding>.

The source of your template was:

atom_feed do |feed|

  feed.title "Kdo zakoupil #{@product.title}"



  latest_order = @product.orders.sort_by(&:updated_at).last

  feed.updated( latest_order && latest_order.updated_at )



  @product.orders.each do |order|

    feed.entry(order) do |entry|

      entry.title "Order #{order.id}"

      entry.summary :type => 'xhtml' do |xhtml|

        xhtml.p "Doru�ovac� adresa: #{order.address}"



        xhtml.table do

          xhtml.tr do

            xhtml.th 'Produkt'

            xhtml.th 'Mno�stv�'

            xhtml.th 'Celkov� cena'

          end

          order.line_items.each do |item|

            xhtml.tr do

              xhtml.td item.product.title

              xhtml.td item.quantity

              xhtml.td number_to_currency item.total_price, :locale => :cs

            end

          end

          xhtml.tr do

            xhtml.th 'celkem', :colspan => 2

              xhtml.th number_to_currency \

                order.line_items.map(&:total_price).sum, :locale => :cs

          end

        end



        xhtml.p "Zp�sob platby: #{order.pay_type}"

      end

      entry.author do |author|

        entry.name order.name

        entry.email order.email

      end

    end

  end

end

):
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (42.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (65.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:12:45 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered products/who_bought.atom.builder (48.0ms)
Completed   in 98ms

ActionView::Template::Error (undefined method `﻿atom_feed' for #<#<Class:0x41ffa00>:0x41fc5c8>):
    1: ﻿atom_feed do |feed|

    2:   feed.title "Kdo zakoupil #{@product.title}"

    3: 

    4:   latest_order = @product.orders.sort_by(&:updated_at).last

  app/views/products/who_bought.atom.builder:1:in `_app_views_products_who_bought_atom_builder___192553255_34591680_628337370'
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (24.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:13:19 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered products/who_bought.atom.builder (43.0ms)
Completed   in 87ms

ActionView::Template::Error (undefined local variable or method `﻿' for #<#<Class:0x4147218>:0x4141128>):
    1: ﻿# encoding: UTF-8

    2: atom_feed do |feed|

    3:   feed.title "Kdo zakoupil #{@product.title}"

    4: 

  app/views/products/who_bought.atom.builder:1:in `_app_views_products_who_bought_atom_builder___192553255_34207992_628337370'
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (15.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (37.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:13:35 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered products/who_bought.atom.builder (1.0ms)
Completed   in 46ms

ActionView::Template::Error (Your template was not saved as valid UTF-8. Please either specify UTF-8 as the encoding for your template in your text editor, or mark the template with its encoding by inserting the following as the first line of the template:

# encoding: <name of correct encoding>.

The source of your template was:



atom_feed do |feed|

  feed.title "Kdo zakoupil #{@product.title}"



  latest_order = @product.orders.sort_by(&:updated_at).last

  feed.updated( latest_order && latest_order.updated_at )



  @product.orders.each do |order|

    feed.entry(order) do |entry|

      entry.title "Order #{order.id}"

      entry.summary :type => 'xhtml' do |xhtml|

        xhtml.p "Doru�ovac� adresa: #{order.address}"



        xhtml.table do

          xhtml.tr do

            xhtml.th 'Produkt'

            xhtml.th 'Mno�stv�'

            xhtml.th 'Celkov� cena'

          end

          order.line_items.each do |item|

            xhtml.tr do

              xhtml.td item.product.title

              xhtml.td item.quantity

              xhtml.td number_to_currency item.total_price, :locale => :cs

            end

          end

          xhtml.tr do

            xhtml.th 'celkem', :colspan => 2

              xhtml.th number_to_currency \

                order.line_items.map(&:total_price).sum, :locale => :cs

          end

        end



        xhtml.p "Zp�sob platby: #{order.pay_type}"

      end

      entry.author do |author|

        entry.name order.name

        entry.email order.email

      end

    end

  end

end

):
  app/controllers/products_controller.rb:87:in `who_bought'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (37.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 19:14:25 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mOrder Load (1.0ms)[0m  [1mSELECT "orders".* FROM "orders" INNER JOIN "line_items" ON "orders".id = "line_items".order_id WHERE (("line_items".product_id = 3))[0m
  [1m[35mLineItem Load (23.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".order_id = 1)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered products/who_bought.atom.builder (432.0ms)
Completed 200 OK in 478ms (Views: 423.0ms | ActiveRecord: 25.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 20:54:34 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
  [1m[35mOrder Load (0.0ms)[0m  SELECT "orders".* FROM "orders" INNER JOIN "line_items" ON "orders".id = "line_items".order_id WHERE (("line_items".product_id = 3))
  [1m[36mLineItem Load (2.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".order_id = 1)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Rendered products/who_bought.atom.builder (221.0ms)
Completed 200 OK in 281ms (Views: 232.0ms | ActiveRecord: 4.0ms)


Started GET "/products/3/who_bought.atom" for 127.0.0.1 at 2011-06-17 20:55:21 +0200
  Processing by ProductsController#who_bought as ATOM
  Parameters: {"id"=>"3"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mOrder Load (1.0ms)[0m  [1mSELECT "orders".* FROM "orders" INNER JOIN "line_items" ON "orders".id = "line_items".order_id WHERE (("line_items".product_id = 3))[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".order_id = 1)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mCACHE (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Rendered products/who_bought.atom.builder (296.0ms)
Completed 200 OK in 342ms (Views: 310.0ms | ActiveRecord: 3.0ms)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mAREL (16.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 1', 'Hlavní 1', 'zakaznik-1@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.158000', '2011-06-17 19:29:21.158000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 2', 'Hlavní 2', 'zakaznik-2@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.280000', '2011-06-17 19:29:21.280000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 3', 'Hlavní 3', 'zakaznik-3@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.282000', '2011-06-17 19:29:21.282000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 4', 'Hlavní 4', 'zakaznik-4@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.283000', '2011-06-17 19:29:21.283000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 5', 'Hlavní 5', 'zakaznik-5@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.285000', '2011-06-17 19:29:21.285000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 6', 'Hlavní 6', 'zakaznik-6@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.286000', '2011-06-17 19:29:21.286000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 7', 'Hlavní 7', 'zakaznik-7@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.288000', '2011-06-17 19:29:21.288000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 8', 'Hlavní 8', 'zakaznik-8@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.289000', '2011-06-17 19:29:21.289000')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 9', 'Hlavní 9', 'zakaznik-9@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.291000', '2011-06-17 19:29:21.291000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 10', 'Hlavní 10', 'zakaznik-10@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.292000', '2011-06-17 19:29:21.292000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 11', 'Hlavní 11', 'zakaznik-11@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.294000', '2011-06-17 19:29:21.294000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 12', 'Hlavní 12', 'zakaznik-12@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.295000', '2011-06-17 19:29:21.295000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 13', 'Hlavní 13', 'zakaznik-13@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.297000', '2011-06-17 19:29:21.297000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 14', 'Hlavní 14', 'zakaznik-14@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.298000', '2011-06-17 19:29:21.298000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 15', 'Hlavní 15', 'zakaznik-15@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.300000', '2011-06-17 19:29:21.300000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 16', 'Hlavní 16', 'zakaznik-16@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.301000', '2011-06-17 19:29:21.301000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 17', 'Hlavní 17', 'zakaznik-17@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.302000', '2011-06-17 19:29:21.302000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 18', 'Hlavní 18', 'zakaznik-18@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.304000', '2011-06-17 19:29:21.304000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 19', 'Hlavní 19', 'zakaznik-19@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.305000', '2011-06-17 19:29:21.305000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 20', 'Hlavní 20', 'zakaznik-20@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.307000', '2011-06-17 19:29:21.307000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 21', 'Hlavní 21', 'zakaznik-21@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.308000', '2011-06-17 19:29:21.308000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 22', 'Hlavní 22', 'zakaznik-22@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.310000', '2011-06-17 19:29:21.310000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 23', 'Hlavní 23', 'zakaznik-23@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.311000', '2011-06-17 19:29:21.311000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 24', 'Hlavní 24', 'zakaznik-24@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.313000', '2011-06-17 19:29:21.313000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 25', 'Hlavní 25', 'zakaznik-25@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.314000', '2011-06-17 19:29:21.314000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 26', 'Hlavní 26', 'zakaznik-26@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.315000', '2011-06-17 19:29:21.315000')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 27', 'Hlavní 27', 'zakaznik-27@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.317000', '2011-06-17 19:29:21.317000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 28', 'Hlavní 28', 'zakaznik-28@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.319000', '2011-06-17 19:29:21.319000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 29', 'Hlavní 29', 'zakaznik-29@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.320000', '2011-06-17 19:29:21.320000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 30', 'Hlavní 30', 'zakaznik-30@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.322000', '2011-06-17 19:29:21.322000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 31', 'Hlavní 31', 'zakaznik-31@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.323000', '2011-06-17 19:29:21.323000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 32', 'Hlavní 32', 'zakaznik-32@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.325000', '2011-06-17 19:29:21.325000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 33', 'Hlavní 33', 'zakaznik-33@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.326000', '2011-06-17 19:29:21.326000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 34', 'Hlavní 34', 'zakaznik-34@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.328000', '2011-06-17 19:29:21.328000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 35', 'Hlavní 35', 'zakaznik-35@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.329000', '2011-06-17 19:29:21.329000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 36', 'Hlavní 36', 'zakaznik-36@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.331000', '2011-06-17 19:29:21.331000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 37', 'Hlavní 37', 'zakaznik-37@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.332000', '2011-06-17 19:29:21.332000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 38', 'Hlavní 38', 'zakaznik-38@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.334000', '2011-06-17 19:29:21.334000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 39', 'Hlavní 39', 'zakaznik-39@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.335000', '2011-06-17 19:29:21.335000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 40', 'Hlavní 40', 'zakaznik-40@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.337000', '2011-06-17 19:29:21.337000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 41', 'Hlavní 41', 'zakaznik-41@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.338000', '2011-06-17 19:29:21.338000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 42', 'Hlavní 42', 'zakaznik-42@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.340000', '2011-06-17 19:29:21.340000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 43', 'Hlavní 43', 'zakaznik-43@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.341000', '2011-06-17 19:29:21.341000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 44', 'Hlavní 44', 'zakaznik-44@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.343000', '2011-06-17 19:29:21.343000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 45', 'Hlavní 45', 'zakaznik-45@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.344000', '2011-06-17 19:29:21.344000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 46', 'Hlavní 46', 'zakaznik-46@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.346000', '2011-06-17 19:29:21.346000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 47', 'Hlavní 47', 'zakaznik-47@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.347000', '2011-06-17 19:29:21.347000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 48', 'Hlavní 48', 'zakaznik-48@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.349000', '2011-06-17 19:29:21.349000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 49', 'Hlavní 49', 'zakaznik-49@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.350000', '2011-06-17 19:29:21.350000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 50', 'Hlavní 50', 'zakaznik-50@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.352000', '2011-06-17 19:29:21.352000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 51', 'Hlavní 51', 'zakaznik-51@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.353000', '2011-06-17 19:29:21.353000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 52', 'Hlavní 52', 'zakaznik-52@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.355000', '2011-06-17 19:29:21.355000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 53', 'Hlavní 53', 'zakaznik-53@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.356000', '2011-06-17 19:29:21.356000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 54', 'Hlavní 54', 'zakaznik-54@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.358000', '2011-06-17 19:29:21.358000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 55', 'Hlavní 55', 'zakaznik-55@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.360000', '2011-06-17 19:29:21.360000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 56', 'Hlavní 56', 'zakaznik-56@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.361000', '2011-06-17 19:29:21.361000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 57', 'Hlavní 57', 'zakaznik-57@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.363000', '2011-06-17 19:29:21.363000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 58', 'Hlavní 58', 'zakaznik-58@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.364000', '2011-06-17 19:29:21.364000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 59', 'Hlavní 59', 'zakaznik-59@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.365000', '2011-06-17 19:29:21.365000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 60', 'Hlavní 60', 'zakaznik-60@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.367000', '2011-06-17 19:29:21.367000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 61', 'Hlavní 61', 'zakaznik-61@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.392000', '2011-06-17 19:29:21.392000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 62', 'Hlavní 62', 'zakaznik-62@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.393000', '2011-06-17 19:29:21.393000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 63', 'Hlavní 63', 'zakaznik-63@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.395000', '2011-06-17 19:29:21.395000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 64', 'Hlavní 64', 'zakaznik-64@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.396000', '2011-06-17 19:29:21.396000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 65', 'Hlavní 65', 'zakaznik-65@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.398000', '2011-06-17 19:29:21.398000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 66', 'Hlavní 66', 'zakaznik-66@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.399000', '2011-06-17 19:29:21.399000')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 67', 'Hlavní 67', 'zakaznik-67@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.401000', '2011-06-17 19:29:21.401000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 68', 'Hlavní 68', 'zakaznik-68@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.402000', '2011-06-17 19:29:21.402000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 69', 'Hlavní 69', 'zakaznik-69@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.404000', '2011-06-17 19:29:21.404000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 70', 'Hlavní 70', 'zakaznik-70@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.430000', '2011-06-17 19:29:21.430000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 71', 'Hlavní 71', 'zakaznik-71@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.432000', '2011-06-17 19:29:21.432000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 72', 'Hlavní 72', 'zakaznik-72@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.433000', '2011-06-17 19:29:21.433000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 73', 'Hlavní 73', 'zakaznik-73@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.435000', '2011-06-17 19:29:21.435000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 74', 'Hlavní 74', 'zakaznik-74@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.436000', '2011-06-17 19:29:21.436000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 75', 'Hlavní 75', 'zakaznik-75@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.438000', '2011-06-17 19:29:21.438000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 76', 'Hlavní 76', 'zakaznik-76@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.439000', '2011-06-17 19:29:21.439000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 77', 'Hlavní 77', 'zakaznik-77@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.441000', '2011-06-17 19:29:21.441000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 78', 'Hlavní 78', 'zakaznik-78@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.442000', '2011-06-17 19:29:21.442000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 79', 'Hlavní 79', 'zakaznik-79@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.444000', '2011-06-17 19:29:21.444000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 80', 'Hlavní 80', 'zakaznik-80@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.445000', '2011-06-17 19:29:21.445000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 81', 'Hlavní 81', 'zakaznik-81@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.446000', '2011-06-17 19:29:21.446000')
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 82', 'Hlavní 82', 'zakaznik-82@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.448000', '2011-06-17 19:29:21.448000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 83', 'Hlavní 83', 'zakaznik-83@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.449000', '2011-06-17 19:29:21.449000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 84', 'Hlavní 84', 'zakaznik-84@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.451000', '2011-06-17 19:29:21.451000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 85', 'Hlavní 85', 'zakaznik-85@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.452000', '2011-06-17 19:29:21.452000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 86', 'Hlavní 86', 'zakaznik-86@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.454000', '2011-06-17 19:29:21.454000')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 87', 'Hlavní 87', 'zakaznik-87@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.455000', '2011-06-17 19:29:21.455000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 88', 'Hlavní 88', 'zakaznik-88@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.456000', '2011-06-17 19:29:21.456000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 89', 'Hlavní 89', 'zakaznik-89@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.458000', '2011-06-17 19:29:21.458000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 90', 'Hlavní 90', 'zakaznik-90@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.459000', '2011-06-17 19:29:21.459000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 91', 'Hlavní 91', 'zakaznik-91@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.461000', '2011-06-17 19:29:21.461000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 92', 'Hlavní 92', 'zakaznik-92@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.462000', '2011-06-17 19:29:21.462000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 93', 'Hlavní 93', 'zakaznik-93@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.463000', '2011-06-17 19:29:21.463000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 94', 'Hlavní 94', 'zakaznik-94@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.465000', '2011-06-17 19:29:21.465000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 95', 'Hlavní 95', 'zakaznik-95@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.466000', '2011-06-17 19:29:21.466000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 96', 'Hlavní 96', 'zakaznik-96@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.468000', '2011-06-17 19:29:21.468000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 97', 'Hlavní 97', 'zakaznik-97@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.469000', '2011-06-17 19:29:21.469000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 98', 'Hlavní 98', 'zakaznik-98@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.471000', '2011-06-17 19:29:21.471000')[0m
  [1m[35mAREL (0.0ms)[0m  INSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 99', 'Hlavní 99', 'zakaznik-99@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.473000', '2011-06-17 19:29:21.473000')
  [1m[36mAREL (0.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('Zákazník 100', 'Hlavní 100', 'zakaznik-100@nekde.cz', 'Dobírka', '2011-06-17 19:29:21.474000', '2011-06-17 19:29:21.474000')[0m


Started GET "/orders" for 127.0.0.1 at 2011-06-17 21:58:32 +0200
  Processing by OrdersController#index as HTML
  [1m[36mOrder Load (3.0ms)[0m  [1mSELECT "orders".* FROM "orders" ORDER BY created_at desc LIMIT 10 OFFSET 0[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "orders"
Rendered orders/index.html.erb within layouts/application (30.0ms)
Completed 200 OK in 139ms (Views: 63.0ms | ActiveRecord: 3.0ms)
  [1m[36mSQL (44.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (90.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (61.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (83.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (90.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (117.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (118.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (179.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073654')[0m
  [1m[35mSQL (158.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (141.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (167.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (177.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (173.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (183.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (2.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (77.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (162.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (83.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (99.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (99.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (131.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073654')[0m
  [1m[35mSQL (116.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (124.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (141.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (107.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (133.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (125.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (88.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (61.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (94.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (138.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (115.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (128.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (162.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073654')[0m
  [1m[35mSQL (182.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (150.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (183.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (181.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (219.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (241.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[36mSQL (14.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
Migrating to CombineItemsInCart (20110614171625)
Migrating to CreateOrders (20110617073607)
Migrating to AddOrderIdToLineItem (20110617073654)
Migrating to CreateUsers (20110621075859)
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (2.0ms)[0m  [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (1.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110621075859')
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("orders")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("users")


Started GET "/users/new" for 127.0.0.1 at 2011-06-21 13:00:21 +0200
  Processing by UsersController#new as HTML
Rendered users/_form.html.erb (189.0ms)
Rendered users/new.html.erb within layouts/application (222.0ms)
Completed 200 OK in 389ms (Views: 265.0ms | ActiveRecord: 0.0ms)


Started POST "/users" for 127.0.0.1 at 2011-06-21 13:11:12 +0200
  Processing by UsersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "user"=>{"name"=>"david", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Create User"}
  [1m[36mSQL (0.0ms)[0m  [1mSELECT 1 FROM "users" WHERE ("users"."name" = 'david') LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mAREL (1.0ms)[0m  [1mINSERT INTO "users" ("name", "hashed_password", "salt", "created_at", "updated_at") VALUES ('david', '4a48735826cfdddd01ba870a46fc3a607e04d7ac32974cb650867eea12dd3a86', '353523360.37301491357742644', '2011-06-21 11:11:13.189000', '2011-06-21 11:11:13.189000')[0m
Redirected to http://localhost:3000/users
Completed 302 Found in 298ms


Started GET "/users" for 127.0.0.1 at 2011-06-21 13:11:13 +0200
  Processing by UsersController#index as HTML
  [1m[35mUser Load (1.0ms)[0m  SELECT "users".* FROM "users" ORDER BY name
Rendered users/index.html.erb within layouts/application (20.0ms)
Completed 200 OK in 78ms (Views: 47.0ms | ActiveRecord: 2.0ms)


Started GET "/admin" for 127.0.0.1 at 2011-06-21 17:42:42 +0200
  Processing by AdminController#index as HTML
  [1m[36mSQL (8.0ms)[0m  [1mSELECT COUNT(*) FROM "orders"[0m
Rendered admin/index.html.erb within layouts/application (17.0ms)
Completed 200 OK in 639ms (Views: 77.0ms | ActiveRecord: 8.0ms)


Started GET "/admin" for 127.0.0.1 at 2011-06-21 17:43:53 +0200
  Processing by AdminController#index as HTML
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "orders"
Rendered admin/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 107ms (Views: 45.0ms | ActiveRecord: 1.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (87.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (62.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (59.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (57.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (62.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (55.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (49.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (48.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (50.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (67.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (49.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (58.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (75.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (83.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (75.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')


Started GET "/login" for 127.0.0.1 at 2011-06-21 18:46:25 +0200
  Processing by SessionsController#new as HTML
Rendered sessions/new.html.erb within layouts/application (208.0ms)
Completed 200 OK in 478ms (Views: 425.0ms | ActiveRecord: 0.0ms)


Started POST "/login" for 127.0.0.1 at 2011-06-21 18:48:33 +0200
  Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "name"=>"dav", "password"=>"[FILTERED]", "commit"=>"Přihlásit"}
  [1m[36mUser Load (10.0ms)[0m  [1mSELECT "users".* FROM "users" WHERE "users"."name" = 'dav' LIMIT 1[0m
Redirected to http://localhost:3000/login
Completed 302 Found in 556ms


Started GET "/login" for 127.0.0.1 at 2011-06-21 18:48:34 +0200
  Processing by SessionsController#new as HTML
Rendered sessions/new.html.erb within layouts/application (18.0ms)
Completed 200 OK in 43ms (Views: 43.0ms | ActiveRecord: 10.0ms)


Started POST "/login" for 127.0.0.1 at 2011-06-21 21:31:55 +0200
  Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "name"=>"david", "password"=>"[FILTERED]", "commit"=>"Přihlásit"}
  [1m[35mUser Load (13.0ms)[0m  SELECT "users".* FROM "users" WHERE "users"."name" = 'david' LIMIT 1
Redirected to http://localhost:3000/admin
Completed 302 Found in 1906ms


Started GET "/admin" for 127.0.0.1 at 2011-06-21 21:32:00 +0200
  Processing by AdminController#index as HTML
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "orders"[0m
Rendered admin/index.html.erb within layouts/application (117.0ms)
Completed 200 OK in 433ms (Views: 273.0ms | ActiveRecord: 14.0ms)


Started GET "/users" for 127.0.0.1 at 2011-06-21 21:32:16 +0200
  Processing by UsersController#index as HTML
  [1m[35mUser Load (1.0ms)[0m  SELECT "users".* FROM "users" ORDER BY name
Rendered users/index.html.erb within layouts/application (58.0ms)
Completed 200 OK in 137ms (Views: 96.0ms | ActiveRecord: 1.0ms)
  [1m[36mSQL (0.0ms)[0m  [1mSELECT 1 FROM "users" WHERE ("users"."name" = 'david') LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "users"
  [1m[36mSQL (0.0ms)[0m  [1mSELECT 1 FROM "products" WHERE ("products"."title" IS NULL) LIMIT 1[0m
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (65.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (48.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (66.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (57.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (81.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (72.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (1.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (64.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (72.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (83.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (83.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (75.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (76.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (73.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (85.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (59.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (66.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (83.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (72.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (73.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (73.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (71.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (64.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (66.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (67.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (58.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (74.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (74.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (79.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (59.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (81.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (73.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (124.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (128.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (83.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (73.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (86.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (80.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (83.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (58.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (83.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (97.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')


Started GET "/" for 127.0.0.1 at 2011-06-22 15:12:02 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (2.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mAREL (5.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-22 13:12:07.312000', '2011-06-22 13:12:07.312000')[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (464.0ms)
Completed 200 OK in 852ms (Views: 492.0ms | ActiveRecord: 7.0ms)


Started POST "/logout?locale=cs" for 127.0.0.1 at 2011-06-22 15:12:21 +0200
  Processing by SessionsController#destroy as HTML
  Parameters: {"authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "locale"=>"cs"}
Redirected to http://localhost:3000/cs
Completed 302 Found in 2ms


Started GET "/cs" for 127.0.0.1 at 2011-06-22 15:12:21 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"cs"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (76.0ms)
Completed 200 OK in 151ms (Views: 98.0ms | ActiveRecord: 1.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 15:12:31 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (72.0ms)
Completed 200 OK in 196ms (Views: 93.0ms | ActiveRecord: 2.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 15:16:42 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
es překlad není k dispozici
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (71.0ms)
Completed 200 OK in 142ms (Views: 92.0ms | ActiveRecord: 1.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 15:33:18 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (2.0ms)
Rendered store/index.html.erb within layouts/application (357.0ms)
Completed 200 OK in 561ms (Views: 378.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 15:33:39 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (74.0ms)
Completed 200 OK in 146ms (Views: 95.0ms | ActiveRecord: 3.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 15:45:49 +0200

Errno::ENOENT (No such file or directory - c:/_Projects/_code/K1958/depot/config/locales/en.yml):
  

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 15:46:31 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (73.0ms)
Completed 200 OK in 232ms (Views: 94.0ms | ActiveRecord: 3.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 15:49:15 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (72.0ms)
Completed 200 OK in 210ms (Views: 92.0ms | ActiveRecord: 2.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 16:14:57 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (123.0ms)
Completed 200 OK in 266ms (Views: 144.0ms | ActiveRecord: 1.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 16:15:06 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (6.0ms)
Rendered store/index.html.erb within layouts/application (78.0ms)
Completed 200 OK in 179ms (Views: 98.0ms | ActiveRecord: 2.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 16:20:18 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (72.0ms)
Completed 200 OK in 142ms (Views: 92.0ms | ActiveRecord: 3.0ms)


Started POST "/es/line_items?product_id=2" for 127.0.0.1 at 2011-06-22 16:20:38 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "product_id"=>"2", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 13) LIMIT 1[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id") VALUES (2, 13, '2011-06-22 14:20:38.984000', '2011-06-22 14:20:38.984000', 1, NULL)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (14.0ms)
Rendered carts/_cart.html.erb (25.0ms)
  [1m[36mSQL (0.0ms)[0m  [1mSELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered line_items/create.js.rjs (35.0ms)
Completed 200 OK in 450ms (Views: 218.0ms | ActiveRecord: 3.0ms)


Started GET "/es" for 127.0.0.1 at 2011-06-22 16:21:38 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (20.0ms)
Rendered carts/_cart.html.erb (38.0ms)
Rendered store/index.html.erb within layouts/application (106.0ms)
Completed 200 OK in 227ms (Views: 126.0ms | ActiveRecord: 3.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:32:47 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (14.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mProduct Load (31.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (89.0ms)
Rendered carts/_cart.html.erb (106.0ms)
Rendered orders/new.html.erb within layouts/application (138.0ms)
Completed 200 OK in 370ms (Views: 130.0ms | ActiveRecord: 32.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:35:39 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered orders/_form.html.erb (43.0ms)
  [1m[35mCACHE (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (62.0ms)
Rendered carts/_cart.html.erb (74.0ms)
Rendered orders/new.html.erb within layouts/application (160.0ms)
Completed 200 OK in 342ms (Views: 180.0ms | ActiveRecord: 4.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:43:30 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (13.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (63.0ms)
Rendered carts/_cart.html.erb (75.0ms)
Rendered orders/new.html.erb within layouts/application (136.0ms)
Completed 200 OK in 320ms (Views: 158.0ms | ActiveRecord: 2.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:43:34 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered orders/_form.html.erb (43.0ms)
  [1m[35mCACHE (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (65.0ms)
Rendered carts/_cart.html.erb (76.0ms)
Rendered orders/new.html.erb within layouts/application (139.0ms)
Completed 200 OK in 245ms (Views: 160.0ms | ActiveRecord: 1.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:43:55 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (48.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (65.0ms)
Rendered carts/_cart.html.erb (76.0ms)
Rendered orders/new.html.erb within layouts/application (143.0ms)
Completed 200 OK in 352ms (Views: 164.0ms | ActiveRecord: 2.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:44:08 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered orders/_form.html.erb (44.0ms)
  [1m[35mCACHE (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (67.0ms)
Rendered carts/_cart.html.erb (77.0ms)
Rendered orders/new.html.erb within layouts/application (188.0ms)
Completed 200 OK in 406ms (Views: 213.0ms | ActiveRecord: 2.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:44:39 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (45.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (69.0ms)
Rendered carts/_cart.html.erb (79.0ms)
Rendered orders/new.html.erb within layouts/application (144.0ms)
Completed 200 OK in 357ms (Views: 165.0ms | ActiveRecord: 2.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 16:44:54 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
Rendered orders/_form.html.erb (43.0ms)
  [1m[35mCACHE (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (69.0ms)
Rendered carts/_cart.html.erb (81.0ms)
Rendered orders/new.html.erb within layouts/application (168.0ms)
Completed 200 OK in 378ms (Views: 189.0ms | ActiveRecord: 2.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 16:49:41 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (46.0ms)
Rendered orders/new.html.erb within layouts/application (58.0ms)
Completed 200 OK in 278ms (Views: 81.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:31:29 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (7.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (195.0ms)
Rendered orders/new.html.erb within layouts/application (223.0ms)
Completed 200 OK in 1254ms (Views: 259.0ms | ActiveRecord: 7.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:32:10 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (14.0ms)
Rendered orders/new.html.erb within layouts/application (26.0ms)
Completed 200 OK in 277ms (Views: 47.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:50:51 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (40.0ms)
Rendered orders/new.html.erb within layouts/application (57.0ms)
Completed 200 OK in 302ms (Views: 80.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:53:23 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (9.0ms)
Rendered orders/new.html.erb within layouts/application (21.0ms)
Completed 200 OK in 200ms (Views: 43.0ms | ActiveRecord: 0.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:55:45 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (9.0ms)
Rendered orders/new.html.erb within layouts/application (22.0ms)
Completed 200 OK in 289ms (Views: 43.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 19:58:57 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (9.0ms)
Rendered orders/new.html.erb within layouts/application (29.0ms)
Completed 200 OK in 306ms (Views: 51.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 20:00:27 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
Rendered orders/_form.html.erb (5.0ms)
Rendered orders/new.html.erb within layouts/application (46.0ms)
Completed 200 OK in 281ms (Views: 70.0ms | ActiveRecord: 1.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 20:07:35 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"xx", "address"=>"xx", "email"=>"xx", "pay_type"=>"Dobírka"}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mAREL (46.0ms)[0m  [1mINSERT INTO "orders" ("name", "address", "email", "pay_type", "created_at", "updated_at") VALUES ('xx', 'xx', 'xx', 'Dobírka', '2011-06-22 18:07:35.359000', '2011-06-22 18:07:35.359000')[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "cart_id" = NULL, "order_id" = 102, "updated_at" = '2011-06-22 18:07:35.547000' WHERE "line_items"."id" = 21
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 13 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 13)
  [1m[36mAREL (2.0ms)[0m  [1mDELETE FROM "carts" WHERE "carts"."id" = 13[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.text.erb (110.0ms)
Rendered notifier/order_received.text.erb (141.0ms)

Sent mail to xx (2491ms)
Date: Wed, 22 Jun 2011 20:07:42 +0200

From: Michal Ruby <depot@nekde.cz>

To: xx

Message-ID: <4e022f6de4070_1658232b348266ed@LukePC.mail>

Subject: =?UTF-8?Q?Potvrzen=C3=AD_objedn=C3=A1vky_z_Pragmatick=C3=A9?=

 knihovny

Mime-Version: 1.0

Content-Type: text/plain;

 charset=UTF-8

Content-Transfer-Encoding: quoted-printable



=EF=BB=BFDobr=C3=BD den,



d=C4=9Bkujeme V=C3=A1m za objedn=C3=A1vku na webu Pragmatick=C3=A1 knihov=

na, kterou vytvo=C5=99il(a) xx.



Objedn=C3=A1vka obsahuje n=C3=A1sleduj=C3=ADc=C3=AD polo=C5=BEky:



 1 x Profesion=C3=A1ln=C3=AD webdesign



Redirected to http://localhost:3000/es
Completed 302 Found in 9109ms


Started GET "/es" for 127.0.0.1 at 2011-06-22 20:07:44 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-22 18:07:44.511000', '2011-06-22 18:07:44.511000')
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (174.0ms)
Completed 200 OK in 421ms (Views: 234.0ms | ActiveRecord: 55.0ms)


Started POST "/es/line_items?product_id=2" for 127.0.0.1 at 2011-06-22 20:09:33 +0200
  Processing by LineItemsController#create as JS
  Parameters: {"authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "product_id"=>"2", "locale"=>"es"}
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mLineItem Load (0.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE "line_items"."product_id" = 2 AND ("line_items".cart_id = 14) LIMIT 1
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id") VALUES (2, 14, '2011-06-22 18:09:33.525000', '2011-06-22 18:09:33.525000', 1, NULL)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (50.0ms)
Rendered carts/_cart.html.erb (62.0ms)
  [1m[35mSQL (0.0ms)[0m  SELECT SUM("line_items"."quantity") AS sum_id FROM "line_items" WHERE ("line_items".cart_id = 14)
Rendered line_items/create.js.rjs (114.0ms)
Completed 200 OK in 525ms (Views: 170.0ms | ActiveRecord: 5.0ms)


Started GET "/es/orders/new" for 127.0.0.1 at 2011-06-22 20:09:36 +0200
  Processing by OrdersController#new as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)
Rendered orders/_form.html.erb (11.0ms)
  [1m[36mCACHE (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (76.0ms)
Rendered carts/_cart.html.erb (88.0ms)
Rendered orders/new.html.erb within layouts/application (118.0ms)
Completed 200 OK in 255ms (Views: 140.0ms | ActiveRecord: 2.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 20:09:40 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1
  [1m[36mLineItem Load (2.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
Rendered orders/_form.html.erb (13.0ms)
Rendered orders/new.html.erb within layouts/application (31.0ms)
Completed 200 OK in 327ms (Views: 58.0ms | ActiveRecord: 2.0ms)


Started POST "/es/orders" for 127.0.0.1 at 2011-06-22 20:10:16 +0200
  Processing by OrdersController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "order"=>{"name"=>"", "address"=>"", "email"=>"", "pay_type"=>""}, "commit"=>"Realizar Pedido", "locale"=>"es"}
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1
  [1m[36mLineItem Load (0.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
Rendered orders/_form.html.erb (5.0ms)
Rendered orders/new.html.erb within layouts/application (16.0ms)
Completed 200 OK in 271ms (Views: 39.0ms | ActiveRecord: 0.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:38:52 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (2.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (35.0ms)
Rendered carts/_cart.html.erb (45.0ms)
Rendered store/index.html.erb within layouts/application (148.0ms)
Completed 200 OK in 218ms (Views: 167.0ms | ActiveRecord: 5.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:38:58 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (0.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
Rendered line_items/_line_item.html.erb (94.0ms)
Rendered carts/_cart.html.erb (105.0ms)
Rendered store/index.html.erb within layouts/application (175.0ms)
Completed 200 OK in 248ms (Views: 195.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:39:37 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)[0m
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1
Rendered line_items/_line_item.html.erb (61.0ms)
Rendered carts/_cart.html.erb (72.0ms)
Rendered store/index.html.erb within layouts/application (141.0ms)
Completed 200 OK in 216ms (Views: 166.0ms | ActiveRecord: 3.0ms)


Started POST "/cs/carts/14" for 127.0.0.1 at 2011-06-22 20:39:49 +0200
  Processing by CartsController#destroy as HTML
  Parameters: {"authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "locale"=>"cs", "id"=>"14"}
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 14 LIMIT 1[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items" WHERE ("line_items".cart_id = 14)
  [1m[36mAREL (1.0ms)[0m  [1mDELETE FROM "line_items" WHERE "line_items"."id" = 22[0m
  [1m[35mAREL (1.0ms)[0m  DELETE FROM "carts" WHERE "carts"."id" = 14
Redirected to http://localhost:3000/cs
Completed 302 Found in 134ms


Started GET "/cs" for 127.0.0.1 at 2011-06-22 20:39:49 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"cs"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (2.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-06-22 18:39:49.926000', '2011-06-22 18:39:49.926000')
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (75.0ms)
Completed 200 OK in 239ms (Views: 96.0ms | ActiveRecord: 7.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:40:00 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (80.0ms)
Completed 200 OK in 300ms (Views: 100.0ms | ActiveRecord: 3.0ms)


Started POST "/cs" for 127.0.0.1 at 2011-06-22 20:40:02 +0200
  Processing by StoreController#index as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "set_locale"=>"es", "locale"=>"cs"}
Redirected to http://localhost:3000/es
Completed 302 Found in 1ms


Started GET "/es" for 127.0.0.1 at 2011-06-22 20:40:03 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"es"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (77.0ms)
Completed 200 OK in 181ms (Views: 99.0ms | ActiveRecord: 2.0ms)


Started POST "/es" for 127.0.0.1 at 2011-06-22 20:40:06 +0200
  Processing by StoreController#index as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "set_locale"=>"cs", "locale"=>"es"}
Redirected to http://localhost:3000/cs
Completed 302 Found in 1ms


Started GET "/cs" for 127.0.0.1 at 2011-06-22 20:40:06 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"cs"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (80.0ms)
Completed 200 OK in 251ms (Views: 101.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:40:09 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (2.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (109.0ms)
Completed 200 OK in 180ms (Views: 129.0ms | ActiveRecord: 4.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:40:20 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (76.0ms)
Completed 200 OK in 158ms (Views: 107.0ms | ActiveRecord: 1.0ms)


Started POST "/es" for 127.0.0.1 at 2011-06-22 20:40:24 +0200
  Processing by StoreController#index as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "set_locale"=>"cs", "locale"=>"es"}
Redirected to http://localhost:3000/cs
Completed 302 Found in 2ms


Started GET "/cs" for 127.0.0.1 at 2011-06-22 20:40:24 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"cs"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (78.0ms)
Completed 200 OK in 153ms (Views: 100.0ms | ActiveRecord: 3.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:40:32 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (107.0ms)
Completed 200 OK in 178ms (Views: 127.0ms | ActiveRecord: 2.0ms)


Started GET "/" for 127.0.0.1 at 2011-06-22 20:54:58 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mCart Load (1.0ms)[0m  SELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1
  [1m[36mSQL (1.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.erb within layouts/application (76.0ms)
Completed 200 OK in 179ms (Views: 97.0ms | ActiveRecord: 3.0ms)


Started POST "/cs" for 127.0.0.1 at 2011-06-22 20:55:10 +0200
  Processing by StoreController#index as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"MZA8qQzGU21doqrzexd4fpebH05tLO7KYSR5TwspbE4=", "set_locale"=>"cs", "locale"=>"cs"}
Redirected to http://localhost:3000/cs
Completed 302 Found in 1ms


Started GET "/cs" for 127.0.0.1 at 2011-06-22 20:55:11 +0200
  Processing by StoreController#index as HTML
  Parameters: {"locale"=>"cs"}
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" ORDER BY title
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 15 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 15)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (74.0ms)
Completed 200 OK in 146ms (Views: 95.0ms | ActiveRecord: 2.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (97.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (64.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (75.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (82.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (90.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (72.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (74.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (65.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (69.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (82.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (65.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (58.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (66.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (66.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (58.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')
  [1m[36mSQL (168.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1005.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (331.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (153.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (369.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (188.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (228.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (1.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (101.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (69.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
  [1m[35mSQL (84.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (124.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (103.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (106.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (155.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (211.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (183.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')
  [1m[36mSQL (67.0ms)[0m  [1mselect version from schema_migrations order by version[0m


Started GET "/products/3.xml" for 127.0.0.1 at 2011-07-13 18:53:30 +0200
  Processing by ProductsController#show as XML
  Parameters: {"id"=>"3"}
  [1m[36mSQL (13.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
Completed 200 OK in 466ms (Views: 262.0ms | ActiveRecord: 14.0ms)


Started GET "/products/3.xml" for 127.0.0.1 at 2011-07-13 18:55:57 +0200
  Processing by ProductsController#show as XML
  Parameters: {"id"=>"3"}
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1[0m
Completed 200 OK in 53ms (Views: 23.0ms | ActiveRecord: 1.0ms)


Started PUT "/products/3.xml" for 127.0.0.1 at 2011-07-13 18:57:28 +0200
  Processing by ProductsController#update as XML
  Parameters: {"product"=>{"created_at"=>2011-06-11 08:00:45 UTC, "description"=>"<p>\n        Ruby on Rails je revoluční programovací nástroj, \n        jenž urychluje a zjednodušuje tvorbu webových stránek a jejich aplikací. \n        Díky zapojení přímočarého jazyka Ruby a vývojové platformy, kterou poskytuje Rails, \n        můžete ve velmi krátkém čase vytvořit plnohodnotné webové aplikace, \n        i když nejste zkušenými programátory.\n      </p>", "id"=>3, "image_url"=>"/images/zprr.jpg", "price"=>#<BigDecimal:4a95440,'0.287E3',4(8)>, "title"=>"Začínáme programovat v Ruby on Rails", "updated_at"=>2011-06-11 08:00:45 UTC}, "id"=>"3"}
  [1m[35mProduct Load (0.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
WARNING: Can't mass-assign protected attributes: id
  [1m[36mSQL (0.0ms)[0m  [1mSELECT 1 FROM "products" WHERE ("products"."title" = 'Začínáme programovat v Ruby on Rails') AND ("products".id <> 3) LIMIT 1[0m
  [1m[35mAREL (1.0ms)[0m  UPDATE "products" SET "created_at" = '2011-06-11 08:00:45.000000', "price" = 287.0, "updated_at" = '2011-06-11 08:00:45.000000' WHERE "products"."id" = 3
Completed 200 OK in 342ms


Started GET "/" for 127.0.0.1 at 2011-07-13 20:45:12 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-07-13 18:45:12.713000', '2011-07-13 18:45:12.713000')
  [1m[36mSQL (0.0ms)[0m  [1mSELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 16)[0m
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (3.0ms)
Rendered store/index.html.erb within layouts/application (696.0ms)
Completed 200 OK in 911ms (Views: 738.0ms | ActiveRecord: 2.0ms)


Started GET "/orders/1.xml" for 127.0.0.1 at 2011-07-13 20:59:00 +0200
  Processing by OrdersController#show as XML
  Parameters: {"id"=>"1"}
  [1m[35mOrder Load (0.0ms)[0m  SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
Completed 200 OK in 52ms (Views: 21.0ms | ActiveRecord: 0.0ms)


Started GET "/orders/1.xml" for 127.0.0.1 at 2011-07-13 20:59:41 +0200
  Processing by OrdersController#show as XML
  Parameters: {"id"=>"1"}
  [1m[36mOrder Load (0.0ms)[0m  [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1[0m
Completed 200 OK in 47ms (Views: 21.0ms | ActiveRecord: 0.0ms)


Started GET "/orders/1" for 127.0.0.1 at 2011-07-13 21:27:58 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[35mOrder Load (1.0ms)[0m  SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
Rendered orders/show.html.erb within layouts/application (21.0ms)
Completed 200 OK in 74ms (Views: 45.0ms | ActiveRecord: 1.0ms)


Started GET "/orders/1/line_items" for 127.0.0.1 at 2011-07-13 21:28:18 +0200
  Processing by LineItemsController#index as HTML
  Parameters: {"order_id"=>"1"}
  [1m[36mLineItem Load (2.0ms)[0m  [1mSELECT "line_items".* FROM "line_items"[0m
Rendered line_items/index.html.erb within layouts/application (117.0ms)
Completed   in 180ms

ActionView::Template::Error (No route matches {:action=>"show", :controller=>"line_items", :locale=>:cs, :id=>#<LineItem id: 19, product_id: 2, cart_id: nil, created_at: "2011-06-17 08:49:32", updated_at: "2011-06-17 14:57:39", quantity: 2, order_id: 1>}):
    13:   <tr>
    14:     <td><%= line_item.product_id %></td>
    15:     <td><%= line_item.cart_id %></td>
    16:     <td><%= link_to 'Show', line_item %></td>
    17:     <td><%= link_to 'Edit', edit_line_item_path(line_item) %></td>
    18:     <td><%= link_to 'Destroy', line_item, :confirm => 'Are you sure?', :method => :delete %></td>
    19:   </tr>
  app/views/line_items/index.html.erb:16:in `block in _app_views_line_items_index_html_erb__473553769_32937252__105126822'
  app/views/line_items/index.html.erb:12:in `each'
  app/views/line_items/index.html.erb:12:in `_app_views_line_items_index_html_erb__473553769_32937252__105126822'
  app/controllers/line_items_controller.rb:9:in `index'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (50.0ms)


Started GET "/orders/1/line_items.xml" for 127.0.0.1 at 2011-07-13 21:28:53 +0200
  Processing by LineItemsController#index as XML
  Parameters: {"order_id"=>"1"}
  [1m[35mLineItem Load (2.0ms)[0m  SELECT "line_items".* FROM "line_items"
Completed 200 OK in 48ms (Views: 25.0ms | ActiveRecord: 2.0ms)


Started GET "/orders/1/line_items.xml" for 127.0.0.1 at 2011-07-13 21:37:47 +0200
  Processing by LineItemsController#index as XML
  Parameters: {"order_id"=>"1"}
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items"[0m
Completed 200 OK in 72ms (Views: 23.0ms | ActiveRecord: 1.0ms)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20110609140659)
Migrating to CreateCarts (20110613194406)
Migrating to CreateLineItems (20110614073328)
Migrating to AddQuantityToLineItems (20110614164949)
Migrating to CombineItemsInCart (20110614171625)
Migrating to CreateOrders (20110617073607)
Migrating to AddOrderIdToLineItem (20110617073654)
Migrating to CreateUsers (20110621075859)
Migrating to AddPriceToLineItem (20110713194359)
  [1m[35mSQL (15.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1mALTER TABLE "line_items" ADD "price" decimal[0m
  [1m[35mLineItem Load (1.0ms)[0m  SELECT "line_items".* FROM "line_items"
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products" WHERE "products"."id" = 3 ORDER BY title LIMIT 1
  [1m[36mProduct Load (0.0ms)[0m  [1mSELECT "products".* FROM "products" WHERE "products"."id" = 2 ORDER BY title LIMIT 1[0m
  [1m[35mSQL (0.0ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110713194359')
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("carts")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("line_items")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("orders")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("products")[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("users")


Started GET "/orders/1/line_items.xml" for 127.0.0.1 at 2011-07-13 21:46:00 +0200
  Processing by LineItemsController#index as XML
  Parameters: {"order_id"=>"1"}
  [1m[35mLineItem Load (2.0ms)[0m  SELECT "line_items".* FROM "line_items"
Completed 200 OK in 57ms (Views: 33.0ms | ActiveRecord: 2.0ms)


Started GET "/order/1" for 127.0.0.1 at 2011-07-13 21:46:43 +0200

ActionController::RoutingError (No route matches "/order/1"):
  

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.0ms)


Started GET "/orders/1" for 127.0.0.1 at 2011-07-13 21:46:49 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"id"=>"1"}
  [1m[36mOrder Load (0.0ms)[0m  [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1[0m
Rendered orders/show.html.erb within layouts/application (28.0ms)
Completed 200 OK in 94ms (Views: 66.0ms | ActiveRecord: 0.0ms)


Started GET "/cs/orders/1/edit" for 127.0.0.1 at 2011-07-13 21:46:55 +0200
  Processing by OrdersController#edit as HTML
  Parameters: {"locale"=>"cs", "id"=>"1"}
  [1m[35mOrder Load (0.0ms)[0m  SELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1
Rendered orders/_form.html.erb (229.0ms)
Rendered orders/edit.html.erb within layouts/application (257.0ms)
Completed 200 OK in 324ms (Views: 280.0ms | ActiveRecord: 0.0ms)


Started GET "/cs/orders/1" for 127.0.0.1 at 2011-07-13 21:47:03 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"locale"=>"cs", "id"=>"1"}
  [1m[36mOrder Load (1.0ms)[0m  [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = 1 LIMIT 1[0m
Rendered orders/show.html.erb within layouts/application (20.0ms)
Completed 200 OK in 70ms (Views: 43.0ms | ActiveRecord: 1.0ms)


Started GET "/cs/orders/2" for 127.0.0.1 at 2011-07-13 21:47:21 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"locale"=>"cs", "id"=>"2"}
  [1m[35mOrder Load (0.0ms)[0m  SELECT "orders".* FROM "orders" WHERE "orders"."id" = 2 LIMIT 1
Rendered orders/show.html.erb within layouts/application (47.0ms)
Completed 200 OK in 96ms (Views: 69.0ms | ActiveRecord: 0.0ms)


Started GET "/cs/orders/3" for 127.0.0.1 at 2011-07-13 21:47:36 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"locale"=>"cs", "id"=>"3"}
  [1m[36mOrder Load (1.0ms)[0m  [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = 3 LIMIT 1[0m
Rendered orders/show.html.erb within layouts/application (67.0ms)
Completed 200 OK in 116ms (Views: 88.0ms | ActiveRecord: 1.0ms)


Started GET "/cs/orders/4" for 127.0.0.1 at 2011-07-13 21:47:41 +0200
  Processing by OrdersController#show as HTML
  Parameters: {"locale"=>"cs", "id"=>"4"}
  [1m[35mOrder Load (0.0ms)[0m  SELECT "orders".* FROM "orders" WHERE "orders"."id" = 4 LIMIT 1
Rendered orders/show.html.erb within layouts/application (20.0ms)
Completed 200 OK in 69ms (Views: 42.0ms | ActiveRecord: 0.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-13 21:47:44 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (8.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-07-13 19:47:44.856000', '2011-07-13 19:47:44.856000')
Rendered store/index.html.erb within layouts/application (54.0ms)
Completed   in 237ms

ActionView::Template::Error (No route matches {:controller=>"line_items", :product_id=>#<Product id: 2, title: "Profesionální webdesign", description: "<p>\n        Prostřednictvím praktických projektů, m...", image_url: "/images/pwd.jpg", price: #<BigDecimal:33d3110,'0.587E3',4(8)>, created_at: "2011-06-11 08:00:45", updated_at: "2011-06-11 08:00:45">, :locale=>:cs}):
    13:       <span class="price">

    14:         <%= number_to_currency(product.price) %>

    15:       </span>

    16:       <%= button_to t('.add_html'), line_items_path(:product_id => product),

    17:                     :remote => true %>

    18:     </div>

    19:   </div>

  app/views/store/index.html.erb:16:in `block in _app_views_store_index_html_erb___1069568022_29452020__105126822'
  app/views/store/index.html.erb:7:in `each'
  app/views/store/index.html.erb:7:in `_app_views_store_index_html_erb___1069568022_29452020__105126822'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (5.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (23.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-13 21:47:49 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (2.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-07-13 19:47:49.287000', '2011-07-13 19:47:49.287000')
Rendered store/index.html.erb within layouts/application (15.0ms)
Completed   in 215ms

ActionView::Template::Error (No route matches {:controller=>"line_items", :product_id=>#<Product id: 2, title: "Profesionální webdesign", description: "<p>\n        Prostřednictvím praktických projektů, m...", image_url: "/images/pwd.jpg", price: #<BigDecimal:46637e8,'0.587E3',4(8)>, created_at: "2011-06-11 08:00:45", updated_at: "2011-06-11 08:00:45">, :locale=>:cs}):
    13:       <span class="price">

    14:         <%= number_to_currency(product.price) %>

    15:       </span>

    16:       <%= button_to t('.add_html'), line_items_path(:product_id => product),

    17:                     :remote => true %>

    18:     </div>

    19:   </div>

  app/views/store/index.html.erb:16:in `block in _app_views_store_index_html_erb___1069568022_39105372__105126822'
  app/views/store/index.html.erb:7:in `each'
  app/views/store/index.html.erb:7:in `_app_views_store_index_html_erb___1069568022_39105372__105126822'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (35.0ms)


Started PUT "/orders/1/line_items/19.xml" for 127.0.0.1 at 2011-07-13 21:53:10 +0200
  Processing by LineItemsController#update as XML
  Parameters: {"line_item"=>{"cart_id"=>nil, "created_at"=>2011-06-17 08:49:32 UTC, "id"=>19, "price"=>316.8, "product_id"=>2, "quantity"=>2, "updated_at"=>2011-06-17 14:57:39 UTC}, "order_id"=>"1", "id"=>"19"}
  [1m[36mLineItem Load (1.0ms)[0m  [1mSELECT "line_items".* FROM "line_items" WHERE "line_items"."id" = 19 LIMIT 1[0m
WARNING: Can't mass-assign protected attributes: id
  [1m[35mAREL (1.0ms)[0m  UPDATE "line_items" SET "created_at" = '2011-06-17 08:49:32.000000', "price" = 316.8, "updated_at" = '2011-06-17 14:57:39.000000' WHERE "line_items"."id" = 19
Completed 200 OK in 187ms


Started POST "/orders/1/line_items.xml" for 127.0.0.1 at 2011-07-13 21:58:33 +0200
  Processing by LineItemsController#create as XML
  Parameters: {"line_item"=>{"product_id"=>2, "quantity"=>1, "price"=>0.0}, "order_id"=>"1"}
  [1m[36mAREL (16.0ms)[0m  [1mINSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-07-13 19:58:33.814000', '2011-07-13 19:58:33.814000')[0m
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id", "price") VALUES (2, NULL, '2011-07-13 19:58:33.950000', '2011-07-13 19:58:33.950000', 1, 1, 0.0)
Completed   in 320ms

ActionController::RoutingError (No route matches {:action=>"show", :controller=>"line_items", :locale=>:cs, :id=>#<LineItem id: 23, product_id: 2, cart_id: nil, created_at: "2011-07-13 19:58:33", updated_at: "2011-07-13 19:58:33", quantity: 1, order_id: 1, price: #<BigDecimal:3d33f08,'0.0',4(8)>>}):
  app/controllers/line_items_controller.rb:61:in `block (2 levels) in create'
  app/controllers/line_items_controller.rb:56:in `create'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)


Started GET "/products.xml" for 127.0.0.1 at 2011-07-13 21:59:37 +0200
  Processing by ProductsController#index as XML
  [1m[36mProduct Load (1.0ms)[0m  [1mSELECT "products".* FROM "products" ORDER BY title[0m
Completed 200 OK in 55ms (Views: 29.0ms | ActiveRecord: 1.0ms)


Started POST "/orders/1/line_items.xml" for 127.0.0.1 at 2011-07-13 22:01:04 +0200
  Processing by LineItemsController#create as XML
  Parameters: {"line_item"=>{"product_id"=>3, "quantity"=>1, "price"=>0.0}, "order_id"=>"1"}
  [1m[35mAREL (1.0ms)[0m  INSERT INTO "carts" ("created_at", "updated_at") VALUES ('2011-07-13 20:01:04.681000', '2011-07-13 20:01:04.681000')
  [1m[36mAREL (2.0ms)[0m  [1mINSERT INTO "line_items" ("product_id", "cart_id", "created_at", "updated_at", "quantity", "order_id", "price") VALUES (3, NULL, '2011-07-13 20:01:04.797000', '2011-07-13 20:01:04.797000', 1, 1, 0.0)[0m
Completed   in 228ms

ActionController::RoutingError (No route matches {:action=>"show", :controller=>"line_items", :locale=>:cs, :id=>#<LineItem id: 24, product_id: 3, cart_id: nil, created_at: "2011-07-13 20:01:04", updated_at: "2011-07-13 20:01:04", quantity: 1, order_id: 1, price: #<BigDecimal:32dbb68,'0.0',4(8)>>}):
  app/controllers/line_items_controller.rb:61:in `block (2 levels) in create'
  app/controllers/line_items_controller.rb:56:in `create'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (2.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-15 16:43:28 +0200
  Processing by StoreController#index as HTML
  [1m[36mProduct Load (17.0ms)[0m  [1mSELECT "products".* FROM "products"[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 16 LIMIT 1[0m
Rendered store/index.html.haml within layouts/application (570.0ms)
Completed   in 693ms

ActionView::Template::Error (undefined method `line_items_path' for #<#<Class:0x2c77da0>:0x2c75208>):
    12:       %span.price= number_to_currency(product.price)

    13:       = button_to t('.add_html'), line_items_path(:product_id => product),

    14:         :remote => true

  app/views/store/index.html.haml:15:in `block in _app_views_store_index_html_haml___3014041_23271492_265212489'
  app/views/store/index.html.haml:6:in `each'
  app/views/store/index.html.haml:6:in `_app_views_store_index_html_haml___3014041_23271492_265212489'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-15 16:44:27 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products"
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 16 LIMIT 1[0m
Rendered store/index.html.haml within layouts/application (26.0ms)
Completed   in 106ms

ActionView::Template::Error (undefined method `orders_line_items_path' for #<#<Class:0x46edcc8>:0x46ecbb8>):
    12:       %span.price= number_to_currency(product.price)

    13:       = button_to t('.add_html'), orders_line_items_path(:product_id => product),

    14:         :remote => true

  app/views/store/index.html.haml:15:in `block in _app_views_store_index_html_haml___3014041_37183332_265212489'
  app/views/store/index.html.haml:6:in `each'
  app/views/store/index.html.haml:6:in `_app_views_store_index_html_haml___3014041_37183332_265212489'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (25.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-15 16:44:48 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products"
  [1m[36mCart Load (1.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 16 LIMIT 1[0m
Rendered store/index.html.haml within layouts/application (28.0ms)
Completed   in 78ms

ActionView::Template::Error (undefined method `line_items_path' for #<#<Class:0x3f11178>:0x3f0cf00>):
    12:       %span.price= number_to_currency(product.price)

    13:       = button_to t('.add_html'), line_items_path(:product_id => product),

    14:         :remote => true

  app/views/store/index.html.haml:15:in `block in _app_views_store_index_html_haml___3014041_33051108_265212489'
  app/views/store/index.html.haml:6:in `each'
  app/views/store/index.html.haml:6:in `_app_views_store_index_html_haml___3014041_33051108_265212489'

Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
Rendered C:/Ruby/lib/ruby/gems/1.9.1/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (25.0ms)


Started GET "/" for 127.0.0.1 at 2011-07-15 20:05:01 +0200
  Processing by StoreController#index as HTML
  [1m[35mProduct Load (1.0ms)[0m  SELECT "products".* FROM "products"
  [1m[36mCart Load (0.0ms)[0m  [1mSELECT "carts".* FROM "carts" WHERE "carts"."id" = 16 LIMIT 1[0m
  [1m[35mSQL (1.0ms)[0m  SELECT COUNT(*) FROM "line_items" WHERE ("line_items".cart_id = 16)
Rendered collection (0.0ms)
Rendered carts/_cart.html.erb (4.0ms)
Rendered store/index.html.haml within layouts/application (228.0ms)
Completed 200 OK in 278ms (Views: 251.0ms | ActiveRecord: 2.0ms)
  [1m[36mSQL (16.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.0ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (1.0ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (85.0ms)[0m  CREATE TABLE "carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (67.0ms)[0m  CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "created_at" datetime, "updated_at" datetime, "quantity" integer DEFAULT 1, "order_id" integer, "price" decimal) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (83.0ms)[0m  CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "address" text, "email" varchar(255), "pay_type" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (1.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (81.0ms)[0m  CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "image_url" varchar(255), "price" decimal(8,2), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (80.0ms)[0m  CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "hashed_password" varchar(255), "salt" varchar(255), "created_at" datetime, "updated_at" datetime) 
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (82.0ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("schema_migrations")[0m
  [1m[35mSQL (83.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
  [1m[36mSQL (0.0ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (1.0ms)[0m  SELECT version FROM "schema_migrations"
  [1m[36mSQL (132.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110713194359')[0m
  [1m[35mSQL (99.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110609140659')
  [1m[36mSQL (58.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110613194406')[0m
  [1m[35mSQL (75.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614073328')
  [1m[36mSQL (67.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110614164949')[0m
  [1m[35mSQL (66.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110614171625')
  [1m[36mSQL (75.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110617073607')[0m
  [1m[35mSQL (74.0ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110617073654')
  [1m[36mSQL (58.0ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110621075859')[0m
