  [1m[36mSQL (9.5ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.1ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("schema_migrations")
  [1m[36mSQL (0.9ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.2ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreateProducts (20101102230533)
  [1m[36mSQL (0.5ms)[0m  [1mCREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "available" boolean, "price" decimal, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20101102230533')
  [1m[36mSQL (0.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.3ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-02 23:08:21.730564', 'Furbie', 15.0, '2010-11-02 23:08:21.730564')
  [1m[36mSQL (0.2ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-02 23:08:21.801402', 'Godzilla', 25.0, '2010-11-02 23:08:21.801402')[0m
  [1m[35mSQL (0.2ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-02 23:08:21.803932', 'Mr. Bill', 32.0, '2010-11-02 23:08:21.803932')
  [1m[36mSQL (0.2ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('f', '2010-11-02 23:08:21.805948', 'Log', 4.0, '2010-11-02 23:08:21.805948')[0m
  [1m[35mSQL (0.2ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-02 23:08:21.807966', 'Cat Lady Action Figure', 50.0, '2010-11-02 23:08:21.807966')
  [1m[36mSQL (0.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't')
  [1m[36mSQL (0.3ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.3ms)[0m  SELECT COUNT(*) AS count_id FROM "products"
  [1m[36mSQL (0.2ms)[0m  [1mSELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "products" WHERE (available = 't')) AS subquery[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't')
  [1m[36mSQL (0.5ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES (NULL, '2010-11-02 23:12:18.254347', 'Nerd Boxing Night', 123.0, '2010-11-02 23:12:18.254347')[0m
  [1m[35mSQL (0.3ms)[0m  SELECT COUNT(*) AS count_id FROM "products"
  [1m[36mSQL (0.2ms)[0m  [1mSELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "products" WHERE (available = 't')) AS subquery[0m
  [1m[35mProduct Load (0.4ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't')
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't') AND ("products"."name" = 'Godzilla') LIMIT 1[0m
  [1m[36mSQL (0.5ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.4ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES (NULL, '2010-11-02 23:14:38.089180', 'Bubble Wrap', 5.0, '2010-11-02 23:14:38.089180')
  [1m[36mProduct Load (0.4ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."id" = 7) LIMIT 1[0m
  [1m[36mSQL (0.5ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.3ms)[0m  SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "products" WHERE (available = 't')) AS subquery
  [1m[36mSQL (0.3ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.2ms)[0m  SELECT COUNT(*) AS count_id FROM "products"
  [1m[36mProduct Load (0.3ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't')[0m
  [1m[35mSQL (0.2ms)[0m  SELECT COUNT(*) AS count_id FROM (SELECT 1 FROM "products" WHERE (available = 't')) AS subquery
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't') AND (available = 'f')[0m
  [1m[35mProduct Load (0.2ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't') AND (available != 't')
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't') AND (available is 'f')[0m
  [1m[36mSQL (13.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.2ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mProduct Load (0.4ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't')[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't')
  [1m[36mProduct Load (0.3ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't')[0m
  [1m[35mSQL (0.2ms)[0m  select count(*) from products
  [1m[36mSQL (9.1ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES (NULL, '2010-11-04 23:30:49.452448', 'Liquid Brains', 19.74, '2010-11-04 23:30:49.452448')[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't') LIMIT 1
  [1m[36mProduct Load (0.3ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't') AND ("products"."id" = 8) LIMIT 1[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't') ORDER BY products.id DESC LIMIT 1
  [1m[36mSQL (0.4ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES (NULL, '2010-11-04 23:31:19.200940', 'Liquid Brains', 19.74, '2010-11-04 23:31:19.200940')[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE (available = 't') ORDER BY products.id DESC LIMIT 1
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE (available = 't') AND ("products"."id" = 9) LIMIT 1[0m
  [1m[35mSQL (0.4ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES (NULL, '2010-11-04 23:31:34.924775', 'Liquid Brains', 19.74, '2010-11-04 23:31:34.924775')
  [1m[36mSQL (0.5ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.5ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-04 23:33:15.418573', 'Liquid Brains', 19.74, '2010-11-04 23:33:15.418573')
  [1m[36mProduct Load (0.4ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."available" = 't')[0m
  [1m[35mSQL (0.2ms)[0m  select count(*) from products
  [1m[36mSQL (0.4ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2010-11-04 23:34:49.981289', 'Liquid Brains', 19.74, '2010-11-04 23:34:49.981289')[0m
  [1m[35mProduct Load (0.8ms)[0m  SELECT "products".* FROM "products"
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."available" = 't') AND ("products"."id" = 10) LIMIT 1[0m
  [1m[35mProduct Load (0.2ms)[0m  SELECT "products".* FROM "products" WHERE ("products"."available" = 't') AND ("products"."id" = 10) LIMIT 1
  [1m[36mProduct Load (0.4ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."id" = 10) LIMIT 1[0m
  [1m[35mSQL (0.7ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('f', '2010-11-04 23:44:07.360170', 'Hideous Harvey', 2.99, '2010-11-04 23:44:07.360170')
  [1m[36mProduct Load (0.2ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."available" = 't') AND ("products"."id" = 13) LIMIT 1[0m
  [1m[35mProduct Load (0.2ms)[0m  SELECT "products".* FROM "products" WHERE ("products"."id" = 13) LIMIT 1
  [1m[36mSQL (1.8ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.2ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
Migrating to CreateProducts (20101102230533)
  [1m[35mSQL (0.1ms)[0m  select sqlite_version(*)
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("products")
  [1m[36mSQL (0.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations"[0m
  [1m[35mSQL (0.9ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2011-12-10 14:19:16.997174', 'Furbie', 15.0, '2011-12-10 14:19:16.997174')
  [1m[36mSQL (0.2ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2011-12-10 14:19:17.013555', 'Godzilla', 25.0, '2011-12-10 14:19:17.013555')[0m
  [1m[35mSQL (0.2ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2011-12-10 14:19:17.015758', 'Mr. Bill', 32.0, '2011-12-10 14:19:17.015758')
  [1m[36mSQL (0.4ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('f', '2011-12-10 14:19:17.018185', 'Log', 4.0, '2011-12-10 14:19:17.018185')[0m
  [1m[35mSQL (0.2ms)[0m  INSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2011-12-10 14:19:17.055054', 'Cat Lady Action Figure', 50.0, '2011-12-10 14:19:17.055054')
  [1m[36mSQL (0.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.2ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.6ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mProduct Load (0.4ms)[0m  SELECT "products".* FROM "products" WHERE ("products"."available" = 't')
  [1m[36mProduct Load (0.6ms)[0m  [1mSELECT "products".* FROM "products" WHERE ("products"."available" = 't')[0m
  [1m[35mProduct Load (0.3ms)[0m  SELECT "products".* FROM "products" WHERE ("products"."available" = 't') LIMIT 1
  [1m[36mSQL (0.5ms)[0m  [1mINSERT INTO "products" ("available", "created_at", "name", "price", "updated_at") VALUES ('t', '2011-12-10 14:20:21.473573', NULL, NULL, '2011-12-10 14:20:21.473573')[0m
