Tweaked test data
authorNeil Smith <neil.git@njae.me.uk>
Tue, 3 Feb 2009 09:12:28 +0000 (09:12 +0000)
committerNeil Smith <neil.git@njae.me.uk>
Tue, 3 Feb 2009 09:12:28 +0000 (09:12 +0000)
db/migrate/20090202163608_add_test_data.rb
log/development.log

index 5b79b4f3312214bfcc0df4d26ca21e050cf3c2bb..35a0a7a12380a48298424322357c7443c8d7e002 100644 (file)
@@ -4,26 +4,23 @@ class AddTestData < ActiveRecord::Migration
 
     Product.create(:title => 'Snowball',
       :description => 
 
     Product.create(:title => 'Snowball',
       :description => 
-        %{<p>
-            The perfect gift for a hot summer's day.  What could be better 
+        %{<p>The perfect gift for a hot summer's day.  What could be better 
             than to surprise a loved one a gift of winter coolness?  This
             snowball has been loving crafted from the purest snow, hand-collected
             from the pristine lawn of our back garden.  
           </p>
             than to surprise a loved one a gift of winter coolness?  This
             snowball has been loving crafted from the purest snow, hand-collected
             from the pristine lawn of our back garden.  
           </p>
-          <p>
-            Note that this is a perisiable item and some melting may occur 
+          <p>Note that this is a perishable item and some melting may occur 
             while the snowball is in transit. 
           </p>
         },
         :image_url => '/images/snowball.jpg',
             while the snowball is in transit. 
           </p>
         },
         :image_url => '/images/snowball.jpg',
-        :price => 12.00,
+        :price => 11.99,
         :date_available => Time.utc(2008, 12, 31)
     )
     
     Product.create(:title => 'Daisy',
       :description => 
         :date_available => Time.utc(2008, 12, 31)
     )
     
     Product.create(:title => 'Daisy',
       :description => 
-        %{<p>
-            All the world is better for having flowers in it.  And your home 
+        %{<p>All the world is better for having flowers in it.  And your home 
             will be the better for having this fine example of <i>Bellis 
             perennis</i> gracing its walls.  The range of uses of this item are
             truly remarkable.  You can place it in an eggcup of water, you can 
             will be the better for having this fine example of <i>Bellis 
             perennis</i> gracing its walls.  The range of uses of this item are
             truly remarkable.  You can place it in an eggcup of water, you can 
@@ -50,7 +47,7 @@ class AddTestData < ActiveRecord::Migration
       :date_available => Time.utc(2007, 1, 1)
       )
 
       :date_available => Time.utc(2007, 1, 1)
       )
 
-    Product.create(:title => 'Air',
+    Product.create(:title => 'Air in a Can',
       :description =>
         %{<p>An essential for all activities, <i>Air</i> is vital for your
             wellbeing and vitality.  Our air is carefully packaged to contain
       :description =>
         %{<p>An essential for all activities, <i>Air</i> is vital for your
             wellbeing and vitality.  Our air is carefully packaged to contain
index 617525e01951d1fd635a3d30ec6a69e8201eb3ef..df17da6f0d22a636fffeaaf1c3b68ab82daa9ff0 100644 (file)
@@ -796,3 +796,419 @@ 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]
 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]