End chapter 8
[depot.git] / log / development.log
index 617525e01951d1fd635a3d30ec6a69e8201eb3ef..d4301bcbe69836e6068869531a38b1ccd5ca1e15 100644 (file)
@@ -796,3 +796,808 @@ Rendering template within layouts/products
 Rendering products/index
   \e[4;36;1mProduct Columns (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
 Completed in 48ms (View: 35, DB: 2) | 200 OK [http://localhost/products]
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-02 20:17:43) [GET]
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.2ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (1.7ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 59ms (View: 41, DB: 2) | 200 OK [http://localhost/products]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (28.1ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202163608'\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (38.8ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `date_available`\e[0m
+  \e[4;35;1mSQL (1.1ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160925'\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (6.4ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `price`\e[0m
+  \e[4;35;1mSQL (0.8ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160745'\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (1.4ms)\e[0m   \e[0;1mDROP TABLE `products`\e[0m
+  \e[4;35;1mSQL (0.9ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160210'\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (37.1ms)\e[0m   \e[0;1mCREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `image_url` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160210')\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (21.6ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `price` decimal(8,2) DEFAULT 0\e[0m
+  \e[4;35;1mSQL (0.6ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160745')\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (6.7ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `date_available` date\e[0m
+  \e[4;35;1mSQL (0.6ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160925')\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (0.3ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Snowball') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/snowball.jpg', '2009-02-02 22:16:01', 'Snowball', 12.0, '2008-12-31 00:00:00', '<p>The perfect gift for a hot summer\'s day. What could be better \n than to surprise a loved one a gift of winter coolness? This\n snowball has been loving crafted from the purest snow, hand-collected\n from the pristine lawn of our back garden. \n </p>\n <p>\n Note that this is a perisiable item and some melting may occur \n while the snowball is in transit. \n </p>\n ', '2009-02-02 22:16:01')\e[0m
+  \e[4;35;1mSQL (0.6ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.4ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Daisy') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.6ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/daisy.gif', '2009-02-02 22:16:01', 'Daisy', 5.0, '2011-07-01 00:00:00', '<p>All the world is better for having flowers in it. And your home \n will be the better for having this fine example of <i>Bellis \n perennis</i> gracing its walls. The range of uses of this item are\n truly remarkable. You can place it in an eggcup of water, you can \n insert it in a jacket for a subtle buttonhole posy, or you even \n purchase a multi-pack to create your own daisy chain!\n </p>\n ', '2009-02-02 22:16:01')\e[0m
+  \e[4;35;1mSQL (1.1ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.9ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Cardboard Box') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.5ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/cardboard-box.jpg', '2009-02-02 22:16:01', 'Cardboard Box', 10.0, '2007-01-01 00:00:00', '<p>The gift that keeps on giving, you\'ll wonder how you ever did \n without a cardboard box in your home. Us it for a range of uses, \n including putting things in and keeping things in. We can provide\n you with a cardboard box that is versatile and suitable for any\n occasion. Some of our directors even use them for sleeping in!\n </p>\n ', '2009-02-02 22:16:01')\e[0m
+  \e[4;35;1mSQL (0.8ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.5ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Air') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.3ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/can-of-air.jpg', '2009-02-02 22:16:01', 'Air', 5000.0, '2009-01-01 00:00:00', '<p>An essential for all activities, <i>Air</i> is vital for your\n wellbeing and vitality. Our air is carefully packaged to contain\n only 100% pure air, with no artificial colours or preservatives.\n </p>\n <p>May contain nuts.\n </p>\n ', '2009-02-02 22:16:01')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.6ms)\e[0m   \e[0;1mINSERT INTO schema_migrations (version) VALUES ('20090202163608')\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSELECT version FROM schema_migrations\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+  \e[4;35;1mSQL (1.0ms)\e[0m   \e[0mdescribe `products`\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW KEYS FROM `products`\e[0m
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-02 22:16:08) [GET]
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.5ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 56ms (View: 38, DB: 2) | 200 OK [http://localhost/products]
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:16:31) [GET]
+  Parameters: {"id"=>"1"}
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (1.3ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.8ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.4ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 1) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 57ms (View: 37, DB: 4) | 200 OK [http://localhost/products/1/edit]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (38.0ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mSQL (0.8ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202163608'\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (26.5ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `date_available`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160925'\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (14.0ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `price`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160745'\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (1.5ms)\e[0m   \e[0;1mDROP TABLE `products`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160210'\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (7.7ms)\e[0m   \e[0;1mCREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `image_url` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB\e[0m
+  \e[4;35;1mSQL (1.3ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160210')\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (23.0ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `price` decimal(8,2) DEFAULT 0\e[0m
+  \e[4;35;1mSQL (12.3ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160745')\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (17.7ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `date_available` date\e[0m
+  \e[4;35;1mSQL (2.5ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160925')\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (0.3ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (2.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Snowball') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.8ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/snowball.jpg', '2009-02-02 22:17:07', 'Snowball', 12.0, '2008-12-31 00:00:00', '<p>The perfect gift for a hot summer\'s day. What could be better \n than to surprise a loved one a gift of winter coolness? This\n snowball has been loving crafted from the purest snow, hand-collected\n from the pristine lawn of our back garden. \n </p>\n <p>\n Note that this is a perishiable item and some melting may occur \n while the snowball is in transit. \n </p>\n ', '2009-02-02 22:17:07')\e[0m
+  \e[4;35;1mSQL (1.0ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Daisy') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.7ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/daisy.gif', '2009-02-02 22:17:07', 'Daisy', 5.0, '2011-07-01 00:00:00', '<p>All the world is better for having flowers in it. And your home \n will be the better for having this fine example of <i>Bellis \n perennis</i> gracing its walls. The range of uses of this item are\n truly remarkable. You can place it in an eggcup of water, you can \n insert it in a jacket for a subtle buttonhole posy, or you even \n purchase a multi-pack to create your own daisy chain!\n </p>\n ', '2009-02-02 22:17:07')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Cardboard Box') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.3ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/cardboard-box.jpg', '2009-02-02 22:17:07', 'Cardboard Box', 10.0, '2007-01-01 00:00:00', '<p>The gift that keeps on giving, you\'ll wonder how you ever did \n without a cardboard box in your home. Us it for a range of uses, \n including putting things in and keeping things in. We can provide\n you with a cardboard box that is versatile and suitable for any\n occasion. Some of our directors even use them for sleeping in!\n </p>\n ', '2009-02-02 22:17:07')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.4ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Air') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.3ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/can-of-air.jpg', '2009-02-02 22:17:07', 'Air', 5000.0, '2009-01-01 00:00:00', '<p>An essential for all activities, <i>Air</i> is vital for your\n wellbeing and vitality. Our air is carefully packaged to contain\n only 100% pure air, with no artificial colours or preservatives.\n </p>\n <p>May contain nuts.\n </p>\n ', '2009-02-02 22:17:07')\e[0m
+  \e[4;35;1mSQL (8.3ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.6ms)\e[0m   \e[0;1mINSERT INTO schema_migrations (version) VALUES ('20090202163608')\e[0m
+  \e[4;35;1mSQL (9.7ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.8ms)\e[0m   \e[0;1mSELECT version FROM schema_migrations\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (1.7ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+  \e[4;35;1mSQL (2.1ms)\e[0m   \e[0mdescribe `products`\e[0m
+  \e[4;36;1mSQL (0.5ms)\e[0m   \e[0;1mSHOW KEYS FROM `products`\e[0m
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:17:11) [GET]
+  Parameters: {"id"=>"1"}
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.4ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.4ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 1) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 43ms (View: 26, DB: 2) | 200 OK [http://localhost/products/1/edit]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (2.2ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202163608'\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (7.5ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `date_available`\e[0m
+  \e[4;35;1mSQL (0.9ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160925'\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (23.4ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `price`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160745'\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (2.9ms)\e[0m   \e[0;1mDROP TABLE `products`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160210'\e[0m
+  \e[4;36;1mSQL (0.8ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.5ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (37.0ms)\e[0m   \e[0;1mCREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `image_url` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB\e[0m
+  \e[4;35;1mSQL (1.3ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160210')\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (17.0ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `price` decimal(8,2) DEFAULT 0\e[0m
+  \e[4;35;1mSQL (1.9ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160745')\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (6.5ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `date_available` date\e[0m
+  \e[4;35;1mSQL (0.6ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160925')\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (0.3ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Snowball') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/snowball.jpg', '2009-02-02 22:17:43', 'Snowball', 12.0, '2008-12-31 00:00:00', '<p>The perfect gift for a hot summer\'s day. What could be better \n than to surprise a loved one a gift of winter coolness? This\n snowball has been loving crafted from the purest snow, hand-collected\n from the pristine lawn of our back garden. \n </p>\n <p>Note that this is a perishable item and some melting may occur \n while the snowball is in transit. \n </p>\n ', '2009-02-02 22:17:43')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.5ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Daisy') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/daisy.gif', '2009-02-02 22:17:43', 'Daisy', 5.0, '2011-07-01 00:00:00', '<p>All the world is better for having flowers in it. And your home \n will be the better for having this fine example of <i>Bellis \n perennis</i> gracing its walls. The range of uses of this item are\n truly remarkable. You can place it in an eggcup of water, you can \n insert it in a jacket for a subtle buttonhole posy, or you even \n purchase a multi-pack to create your own daisy chain!\n </p>\n ', '2009-02-02 22:17:43')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.4ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Cardboard Box') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.5ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/cardboard-box.jpg', '2009-02-02 22:17:43', 'Cardboard Box', 10.0, '2007-01-01 00:00:00', '<p>The gift that keeps on giving, you\'ll wonder how you ever did \n without a cardboard box in your home. Us it for a range of uses, \n including putting things in and keeping things in. We can provide\n you with a cardboard box that is versatile and suitable for any\n occasion. Some of our directors even use them for sleeping in!\n </p>\n ', '2009-02-02 22:17:43')\e[0m
+  \e[4;35;1mSQL (1.3ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.7ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Air') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.7ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/can-of-air.jpg', '2009-02-02 22:17:43', 'Air', 5000.0, '2009-01-01 00:00:00', '<p>An essential for all activities, <i>Air</i> is vital for your\n wellbeing and vitality. Our air is carefully packaged to contain\n only 100% pure air, with no artificial colours or preservatives.\n </p>\n <p>May contain nuts.\n </p>\n ', '2009-02-02 22:17:43')\e[0m
+  \e[4;35;1mSQL (9.4ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.6ms)\e[0m   \e[0;1mINSERT INTO schema_migrations (version) VALUES ('20090202163608')\e[0m
+  \e[4;35;1mSQL (0.4ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSELECT version FROM schema_migrations\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (1.0ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+  \e[4;35;1mSQL (1.1ms)\e[0m   \e[0mdescribe `products`\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW KEYS FROM `products`\e[0m
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:17:48) [GET]
+  Parameters: {"id"=>"1"}
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.6ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.4ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 1) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 44ms (View: 27, DB: 2) | 200 OK [http://localhost/products/1/edit]
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:17:52) [GET]
+  Parameters: {"id"=>"2"}
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (2.6ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.8ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 2) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 62ms (View: 37, DB: 4) | 200 OK [http://localhost/products/2/edit]
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:17:56) [GET]
+  Parameters: {"id"=>"3"}
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.6ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.5ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 3) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 77ms (View: 50, DB: 3) | 200 OK [http://localhost/products/3/edit]
+
+
+Processing ProductsController#edit (for 127.0.0.1 at 2009-02-02 22:18:00) [GET]
+  Parameters: {"id"=>"4"}
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.9ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 4) \e[0m
+Rendering template within layouts/products
+Rendering products/edit
+Completed in 58ms (View: 37, DB: 3) | 200 OK [http://localhost/products/4/edit]
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-03 08:54:41) [GET]
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (18.9ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (28.5ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 190ms (View: 126, DB: 48) | 200 OK [http://localhost/products]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (54.6ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202163608'\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (82.6ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `date_available`\e[0m
+  \e[4;35;1mSQL (0.9ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160925'\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (23.1ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `price`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160745'\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (1.6ms)\e[0m   \e[0;1mDROP TABLE `products`\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160210'\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.5ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (40.6ms)\e[0m   \e[0;1mCREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `image_url` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB\e[0m
+  \e[4;35;1mSQL (10.8ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160210')\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (11.9ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `price` decimal(8,2) DEFAULT 0\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160745')\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (34.6ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `date_available` date\e[0m
+  \e[4;35;1mSQL (3.8ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160925')\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (0.4ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Snowball') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/snowball.jpg', '2009-02-03 08:55:34', 'Snowball', 11.99, '2008-12-31 00:00:00', '<p>The perfect gift for a hot summer\'s day. What could be better \n than to surprise a loved one a gift of winter coolness? This\n snowball has been loving crafted from the purest snow, hand-collected\n from the pristine lawn of our back garden. \n </p>\n <p>Note that this is a perishable item and some melting may occur \n while the snowball is in transit. \n </p>\n ', '2009-02-03 08:55:34')\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.5ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Daisy') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/daisy.gif', '2009-02-03 08:55:34', 'Daisy', 5.0, '2011-07-01 00:00:00', '<p>All the world is better for having flowers in it. And your home \n will be the better for having this fine example of <i>Bellis \n perennis</i> gracing its walls. The range of uses of this item are\n truly remarkable. You can place it in an eggcup of water, you can \n insert it in a jacket for a subtle buttonhole posy, or you even \n purchase a multi-pack to create your own daisy chain!\n </p>\n ', '2009-02-03 08:55:34')\e[0m
+  \e[4;35;1mSQL (1.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Cardboard Box') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/cardboard-box.jpg', '2009-02-03 08:55:34', 'Cardboard Box', 10.0, '2007-01-01 00:00:00', '<p>The gift that keeps on giving, you\'ll wonder how you ever did \n without a cardboard box in your home. Us it for a range of uses, \n including putting things in and keeping things in. We can provide\n you with a cardboard box that is versatile and suitable for any\n occasion. Some of our directors even use them for sleeping in!\n </p>\n ', '2009-02-03 08:55:34')\e[0m
+  \e[4;35;1mSQL (0.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.4ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Air') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.5ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/can-of-air.jpg', '2009-02-03 08:55:34', 'Air', 5000.0, '2009-01-01 00:00:00', '<p>An essential for all activities, <i>Air</i> is vital for your\n wellbeing and vitality. Our air is carefully packaged to contain\n only 100% pure air, with no artificial colours or preservatives.\n </p>\n <p>May contain nuts.\n </p>\n ', '2009-02-03 08:55:34')\e[0m
+  \e[4;35;1mSQL (3.5ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.9ms)\e[0m   \e[0;1mINSERT INTO schema_migrations (version) VALUES ('20090202163608')\e[0m
+  \e[4;35;1mSQL (0.4ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSELECT version FROM schema_migrations\e[0m
+  \e[4;35;1mSQL (0.4ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+  \e[4;35;1mSQL (1.1ms)\e[0m   \e[0mdescribe `products`\e[0m
+  \e[4;36;1mSQL (0.5ms)\e[0m   \e[0;1mSHOW KEYS FROM `products`\e[0m
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-03 08:55:37) [GET]
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.5ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (1.2ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 58ms (View: 42, DB: 2) | 200 OK [http://localhost/products]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (27.5ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mSQL (29.7ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202163608'\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (20.7ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `date_available`\e[0m
+  \e[4;35;1mSQL (10.0ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160925'\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (6.5ms)\e[0m   \e[0;1mALTER TABLE `products` DROP `price`\e[0m
+  \e[4;35;1mSQL (5.6ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160745'\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (1.4ms)\e[0m   \e[0;1mDROP TABLE `products`\e[0m
+  \e[4;35;1mSQL (0.8ms)\e[0m   \e[0mDELETE FROM schema_migrations WHERE version = '20090202160210'\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (0.4ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSELECT version FROM schema_migrations\e[0m
+Migrating to CreateProducts (20090202160210)
+  \e[4;36;1mSQL (43.0ms)\e[0m   \e[0;1mCREATE TABLE `products` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255), `description` text, `image_url` varchar(255), `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB\e[0m
+  \e[4;35;1mSQL (13.7ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160210')\e[0m
+Migrating to AddPriceToProduct (20090202160745)
+  \e[4;36;1mSQL (8.1ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `price` decimal(8,2) DEFAULT 0\e[0m
+  \e[4;35;1mSQL (2.7ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160745')\e[0m
+Migrating to AddDateAvailableToProduct (20090202160925)
+  \e[4;36;1mSQL (41.8ms)\e[0m   \e[0;1mALTER TABLE `products` ADD `date_available` date\e[0m
+  \e[4;35;1mSQL (1.3ms)\e[0m   \e[0mINSERT INTO schema_migrations (version) VALUES ('20090202160925')\e[0m
+Migrating to AddTestData (20090202163608)
+  \e[4;36;1mProduct Delete all (0.4ms)\e[0m   \e[0;1mDELETE FROM `products` \e[0m
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.3ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Snowball') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/snowball.jpg', '2009-02-03 08:56:57', 'Snowball', 11.99, '2008-12-31 00:00:00', '<p>The perfect gift for a hot summer\'s day. What could be better \n than to surprise a loved one a gift of winter coolness? This\n snowball has been loving crafted from the purest snow, hand-collected\n from the pristine lawn of our back garden. \n </p>\n <p>Note that this is a perishable item and some melting may occur \n while the snowball is in transit. \n </p>\n ', '2009-02-03 08:56:57')\e[0m
+  \e[4;35;1mSQL (0.7ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.4ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Daisy') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/daisy.gif', '2009-02-03 08:56:57', 'Daisy', 5.0, '2011-07-01 00:00:00', '<p>All the world is better for having flowers in it. And your home \n will be the better for having this fine example of <i>Bellis \n perennis</i> gracing its walls. The range of uses of this item are\n truly remarkable. You can place it in an eggcup of water, you can \n insert it in a jacket for a subtle buttonhole posy, or you even \n purchase a multi-pack to create your own daisy chain!\n </p>\n ', '2009-02-03 08:56:57')\e[0m
+  \e[4;35;1mSQL (0.9ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (0.5ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Cardboard Box') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.6ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/cardboard-box.jpg', '2009-02-03 08:56:57', 'Cardboard Box', 10.0, '2007-01-01 00:00:00', '<p>The gift that keeps on giving, you\'ll wonder how you ever did \n without a cardboard box in your home. Us it for a range of uses, \n including putting things in and keeping things in. We can provide\n you with a cardboard box that is versatile and suitable for any\n occasion. Some of our directors even use them for sleeping in!\n </p>\n ', '2009-02-03 08:56:57')\e[0m
+  \e[4;35;1mSQL (7.1ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (2.4ms)\e[0m   \e[0;1mBEGIN\e[0m
+  \e[4;35;1mProduct Exists (4.7ms)\e[0m   \e[0mSELECT `products`.id FROM `products` WHERE (`products`.`title` = BINARY 'Air in a Can') LIMIT 1\e[0m
+  \e[4;36;1mProduct Create (0.4ms)\e[0m   \e[0;1mINSERT INTO `products` (`image_url`, `updated_at`, `title`, `price`, `date_available`, `description`, `created_at`) VALUES('/images/can-of-air.jpg', '2009-02-03 08:56:57', 'Air in a Can', 5000.0, '2009-01-01 00:00:00', '<p>An essential for all activities, <i>Air</i> is vital for your\n wellbeing and vitality. Our air is carefully packaged to contain\n only 100% pure air, with no artificial colours or preservatives.\n </p>\n <p>May contain nuts.\n </p>\n ', '2009-02-03 08:56:57')\e[0m
+  \e[4;35;1mSQL (0.9ms)\e[0m   \e[0mCOMMIT\e[0m
+  \e[4;36;1mSQL (0.8ms)\e[0m   \e[0;1mINSERT INTO schema_migrations (version) VALUES ('20090202163608')\e[0m
+  \e[4;35;1mSQL (0.4ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSELECT version FROM schema_migrations\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSHOW TABLES\e[0m
+  \e[4;36;1mSQL (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+  \e[4;35;1mSQL (1.1ms)\e[0m   \e[0mdescribe `products`\e[0m
+  \e[4;36;1mSQL (0.5ms)\e[0m   \e[0;1mSHOW KEYS FROM `products`\e[0m
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-03 08:57:00) [GET]
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.5ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (1.1ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 53ms (View: 40, DB: 2) | 200 OK [http://localhost/products]
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-03 10:08:16) [GET]
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.3ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.3ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (2.4ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 118ms (View: 80, DB: 3) | 200 OK [http://localhost/products]
+
+
+Processing ApplicationController#index (for 127.0.0.1 at 2009-02-03 10:08:16) [GET]
+
+
+ActionController::RoutingError (No route matches "/store" with {:method=>:get}):
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in `recognize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in `handle_request'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    script/server:3
+
+Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (not_found)
+
+
+Processing ApplicationController#index (for 127.0.0.1 at 2009-02-04 13:58:28) [GET]
+
+
+ActionController::RoutingError (No route matches "/store" with {:method=>:get}):
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in `recognize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in `handle_request'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    script/server:3
+
+Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (not_found)
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-04 13:59:23) [GET]
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.3ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (4.4ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 189ms (View: 154, DB: 5) | 200 OK [http://localhost/products]
+
+
+Processing ProductsController#show (for 127.0.0.1 at 2009-02-04 13:59:27) [GET]
+  Parameters: {"id"=>"1"}
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Columns (1.5ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+  \e[4;36;1mProduct Load (0.5ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (`products`.`id` = 1) \e[0m
+Rendering template within layouts/products
+Rendering products/show
+Completed in 49ms (View: 30, DB: 2) | 200 OK [http://localhost/products/1]
+
+
+Processing ProductsController#index (for 127.0.0.1 at 2009-02-04 13:59:29) [GET]
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET NAMES 'utf8'\e[0m
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;35;1mProduct Load (0.3ms)\e[0m   \e[0mSELECT * FROM `products` \e[0m
+Rendering template within layouts/products
+Rendering products/index
+  \e[4;36;1mProduct Columns (2.0ms)\e[0m   \e[0;1mSHOW FIELDS FROM `products`\e[0m
+Completed in 70ms (View: 49, DB: 2) | 200 OK [http://localhost/products]
+
+
+Processing ApplicationController#index (for 127.0.0.1 at 2009-02-04 13:59:32) [GET]
+
+
+ActionController::RoutingError (No route matches "/store" with {:method=>:get}):
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in `recognize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in `handle_request'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    script/server:3
+
+Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (not_found)
+
+
+Processing ApplicationController#index (for 127.0.0.1 at 2009-02-04 13:59:36) [GET]
+
+
+ActionController::RoutingError (No route matches "/store" with {:method=>:get}):
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in `recognize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in `handle_request'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    script/server:3
+
+Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (not_found)
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:01:27) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+Rendering store/index
+Completed in 7ms (View: 3, DB: 0) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:12:04) [GET]
+  \e[4;36;1mSQL (1.8ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mSQL (14.7ms)\e[0m   \e[0;1mSHOW TABLES\e[0m
+  \e[4;35;1mProduct Columns (3.8ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+
+
+NameError (undefined local variable or method `conditions' for #<Class:0xb70fec24>):
+    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in `method_missing'
+    /app/models/product.rb:12:in `find_products_for_sale'
+    /app/controllers/store_controller.rb:3:in `index'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `send'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:1253:in `perform_action_without_filters'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:617:in `call_filters'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
+    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/rescue.rb:136:in `perform_action_without_caching'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
+    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
+    /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/query_cache.rb:8:in `cache'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in `send'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:524:in `process_without_filters'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/filters.rb:606:in `process_without_session_management_support'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/session_management.rb:134:in `process'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/base.rb:392:in `process'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:183:in `handle_request'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in `dispatch_unlocked'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:123:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `synchronize'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:122:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:132:in `dispatch_cgi'
+    /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:39:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:103:in `handle_dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:74:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
+    /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
+    /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
+    /usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
+    /usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
+    /usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/webrick_server.rb:60:in `dispatch'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/servers/webrick.rb:66
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:521:in `new_constants_in'
+    /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:153:in `require'
+    /usr/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/server.rb:49
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
+    /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
+    script/server:3
+
+Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/_trace (172.9ms)
+Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/_request_and_response (2.9ms)
+Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb (internal_server_error)
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:12:32) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (141.7ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering store/index
+  \e[4;35;1mProduct Columns (2.0ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 172ms (View: 18, DB: 142) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:12:53) [GET]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` ORDER BY title\e[0m
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.3ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 27ms (View: 15, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:13:05) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.9ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.9ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 39ms (View: 19, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 14:15:08) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.8ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering store/index
+  \e[4;35;1mProduct Columns (2.0ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 50ms (View: 29, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:32:09) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.3ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.9ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (2.2ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 39ms (View: 27, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:33:51) [GET]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.2ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 39ms (View: 25, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:35:16) [GET]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.9ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.9ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 49ms (View: 31, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:38:26) [GET]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.8ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (2.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 57ms (View: 38, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:40:47) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.2ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.9ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (2.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 51ms (View: 33, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:41:01) [GET]
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.4ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 40ms (View: 26, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:41:26) [GET]
+  \e[4;36;1mSQL (0.2ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 38ms (View: 27, DB: 1) | 200 OK [http://localhost/store]
+
+
+Processing StoreController#index (for 127.0.0.1 at 2009-02-04 21:41:32) [POST]
+  Parameters: {"authenticity_token"=>"e5d513dc6072444247eccfd6ee064972eb3383d9"}
+  \e[4;36;1mSQL (0.1ms)\e[0m   \e[0;1mSET NAMES 'utf8'\e[0m
+  \e[4;35;1mSQL (0.1ms)\e[0m   \e[0mSET SQL_AUTO_IS_NULL=0\e[0m
+  \e[4;36;1mProduct Load (0.6ms)\e[0m   \e[0;1mSELECT * FROM `products` WHERE (date_available <= now()) ORDER BY title\e[0m
+Rendering template within layouts/store
+Rendering store/index
+  \e[4;35;1mProduct Columns (1.1ms)\e[0m   \e[0mSHOW FIELDS FROM `products`\e[0m
+Completed in 39ms (View: 28, DB: 1) | 200 OK [http://localhost/store]