mechanize_store 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff918a078fc58ab86cca583d60fed90edb05a0a7
4
- data.tar.gz: 0f9d3135f46b0be82ed7e1aea20388d625ab3911
3
+ metadata.gz: 9aa02e956f206c438a753e3fce53dc7bb039ff4e
4
+ data.tar.gz: 489b836a8ec03455ae619761dd13ee3b30fab118
5
5
  SHA512:
6
- metadata.gz: e6aef661231bb5613058fc87b19cbb14052f7f8385fdde05796521d1dbe46685ff4e2d69787fa6a43a382a8cb8c781834c8df0038ce3da54b5e626ce6fe8d5d9
7
- data.tar.gz: 9cd3871635085966c0884bead1e9cd7632c9ce5e7d5ba48455e8670e4d808e0c3335eb3d02d6d5b60e3719326b46ee3a179847e8e7e0094489003d2b0a2f8344
6
+ metadata.gz: d8f7ee32ac7433e949665a56180d20ec363ecc7e86f7d00f0285cf6aa03a2bc36903d15152be74c182b5b9efc73bb41d153cb6000613427ff5b3b30319a9f600
7
+ data.tar.gz: 513a5812edfbbef4800015aea3f0180f7ded8b70a6666ebb288c8de4f2c63b20b4fddc93fc9c1ee778fb19e8c1e24758c8afbc92ff3bc5c725a1fcd6cd0cdce6
@@ -3,11 +3,22 @@ module MechanizeStore
3
3
  belongs_to :product_category, class_name: MechanizeStore::ProductCategory
4
4
  has_many :product_photos, class_name: MechanizeStore::ProductPhoto
5
5
 
6
+ after_create :create_slug
7
+ before_update :set_defaults
8
+
6
9
  validates :name, :price, :description, :short_description, :weight, :length, :width, :height, presence: true
7
10
 
8
11
  def first_photo
9
12
  return nil if self.product_photos.empty?
10
13
  return self.product_photos.first
11
14
  end
15
+
16
+ def set_defaults
17
+ self.slug = "#{self.id}-#{self.name.parameterize}"
18
+ end
19
+
20
+ def create_slug
21
+ self.update_attributes(:slug => "#{self.id}-#{self.name.parameterize}")
22
+ end
12
23
  end
13
24
  end
@@ -0,0 +1,5 @@
1
+ class AddSlugToMechanizeStoreProducts < ActiveRecord::Migration
2
+ def change
3
+ add_column :mechanize_store_products, :slug, :string, index: true
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module MechanizeStore
2
- VERSION = "0.0.17"
2
+ VERSION = "0.0.18"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140717182327) do
14
+ ActiveRecord::Schema.define(version: 20140721124512) do
15
15
 
16
16
  create_table "mechanize_store_flags", force: true do |t|
17
17
  t.string "name"
@@ -113,6 +113,7 @@ ActiveRecord::Schema.define(version: 20140717182327) do
113
113
  t.datetime "created_at"
114
114
  t.datetime "updated_at"
115
115
  t.float "width"
116
+ t.string "slug"
116
117
  end
117
118
 
118
119
  add_index "mechanize_store_products", ["product_category_id"], name: "index_mechanize_store_products_on_product_category_id"
Binary file
@@ -939,3 +939,977 @@ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
939
939
   (0.1ms) rollback transaction
940
940
   (0.0ms) begin transaction
941
941
   (0.1ms) rollback transaction
942
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
943
+ Migrating to AddColorAndSizeToMechanizeStoreOrderItem (20140717182327)
944
+  (0.1ms) begin transaction
945
+  (0.5ms) ALTER TABLE "mechanize_store_order_items" ADD "color" varchar(255)
946
+  (0.2ms) ALTER TABLE "mechanize_store_order_items" ADD "size" varchar(255)
947
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140717182327"]]
948
+  (1.1ms) commit transaction
949
+ Migrating to AddSlugToMechanizeStoreProducts (20140721124512)
950
+  (0.1ms) begin transaction
951
+  (0.4ms) ALTER TABLE "mechanize_store_products" ADD "slug" varchar(255)
952
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140721124512"]]
953
+  (0.8ms) commit transaction
954
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
955
+  (0.5ms) begin transaction
956
+  (0.1ms) SAVEPOINT active_record_1
957
+ SQL (4.9ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
958
+ SQL (1.4ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
960
+ Processing by MechanizeStore::ProductCategoriesController#edit as HTML
961
+ Parameters: {"id"=>"1"}
962
+ MechanizeStore::ProductCategory Load (0.2ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
963
+ Rendered /Users/wilbert/apps/mechanize-store/app/views/mechanize_store/product_categories/edit.html.erb (0.3ms)
964
+ Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms)
965
+  (1.2ms) rollback transaction
966
+  (0.1ms) begin transaction
967
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
968
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
969
+  (0.1ms) SAVEPOINT active_record_1
970
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
971
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
973
+ Redirected to http://test.host/mechanize_store/product_categories/1
974
+ Completed 302 Found in 6ms (ActiveRecord: 0.9ms)
975
+  (0.6ms) rollback transaction
976
+  (0.1ms) begin transaction
977
+  (0.2ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
978
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
979
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
980
+  (0.1ms) SAVEPOINT active_record_1
981
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
982
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
984
+ Redirected to http://test.host/mechanize_store/product_categories/1
985
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
986
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
987
+  (0.6ms) rollback transaction
988
+  (0.1ms) begin transaction
989
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
990
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
991
+  (0.1ms) SAVEPOINT active_record_1
992
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
993
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
994
+  (0.1ms) RELEASE SAVEPOINT active_record_1
995
+ Redirected to http://test.host/mechanize_store/product_categories/1
996
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
997
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" ORDER BY "mechanize_store_product_categories"."id" DESC LIMIT 1
998
+  (0.6ms) rollback transaction
999
+  (0.1ms) begin transaction
1000
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
1001
+ Parameters: {"product_category"=>{"name"=>"invalid value"}}
1002
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
1003
+  (0.1ms) rollback transaction
1004
+  (0.1ms) begin transaction
1005
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
1006
+ Parameters: {"product_category"=>{"name"=>"invalid value"}}
1007
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1008
+  (0.1ms) rollback transaction
1009
+  (0.1ms) begin transaction
1010
+  (0.1ms) SAVEPOINT active_record_1
1011
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1012
+ SQL (0.4ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1013
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1014
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
1015
+ Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
1016
+ Parameters: {"id"=>"1"}
1017
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1018
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1019
+  (0.0ms) SAVEPOINT active_record_1
1020
+ SQL (0.1ms) DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
1021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1022
+ Redirected to http://test.host/mechanize_store/product_categories
1023
+ Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
1024
+  (0.2ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
1025
+  (0.5ms) rollback transaction
1026
+  (0.1ms) begin transaction
1027
+  (0.1ms) SAVEPOINT active_record_1
1028
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1029
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1031
+ Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
1032
+ Parameters: {"id"=>"1"}
1033
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1034
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1035
+  (0.0ms) SAVEPOINT active_record_1
1036
+ SQL (0.1ms) DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
1037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1038
+ Redirected to http://test.host/mechanize_store/product_categories
1039
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1040
+  (0.7ms) rollback transaction
1041
+  (0.1ms) begin transaction
1042
+  (0.1ms) SAVEPOINT active_record_1
1043
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1044
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1046
+ Processing by MechanizeStore::ProductCategoriesController#index as HTML
1047
+ Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
1048
+ MechanizeStore::ProductCategory Load (0.2ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" LIMIT 30 OFFSET 0
1049
+  (0.6ms) rollback transaction
1050
+  (0.1ms) begin transaction
1051
+  (0.0ms) SAVEPOINT active_record_1
1052
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1053
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
+ Processing by MechanizeStore::ProductCategoriesController#show as HTML
1056
+ Parameters: {"id"=>"1"}
1057
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1058
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
1059
+  (0.6ms) rollback transaction
1060
+  (0.1ms) begin transaction
1061
+  (0.1ms) SAVEPOINT active_record_1
1062
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1063
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1064
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1065
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
1066
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
1067
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1068
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1069
+  (0.0ms) SAVEPOINT active_record_1
1070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1071
+ Redirected to http://test.host/mechanize_store/product_categories/1
1072
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1073
+  (0.7ms) rollback transaction
1074
+  (0.1ms) begin transaction
1075
+  (0.1ms) SAVEPOINT active_record_1
1076
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1077
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1079
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
1080
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
1081
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1082
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1083
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
1084
+  (0.6ms) rollback transaction
1085
+  (0.1ms) begin transaction
1086
+  (0.1ms) SAVEPOINT active_record_1
1087
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1088
+ SQL (0.4ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1089
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1090
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
1091
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
1092
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1093
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1094
+  (0.1ms) SAVEPOINT active_record_1
1095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
+ Redirected to http://test.host/mechanize_store/product_categories/1
1097
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1098
+  (0.6ms) rollback transaction
1099
+  (0.1ms) begin transaction
1100
+  (0.1ms) SAVEPOINT active_record_1
1101
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1102
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1103
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1104
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
1105
+ Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
1106
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1107
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1108
+  (0.0ms) SAVEPOINT active_record_1
1109
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1110
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
1111
+  (0.7ms) rollback transaction
1112
+  (0.1ms) begin transaction
1113
+  (0.1ms) SAVEPOINT active_record_1
1114
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1115
+ SQL (0.3ms) UPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
1118
+ Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
1119
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1120
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
1121
+  (0.1ms) SAVEPOINT active_record_1
1122
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1123
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
1124
+  (0.7ms) rollback transaction
1125
+  (0.1ms) begin transaction
1126
+ Processing by MechanizeStore::ProductCategoriesController#new as HTML
1127
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1128
+  (0.1ms) rollback transaction
1129
+  (0.1ms) begin transaction
1130
+  (0.2ms) SAVEPOINT active_record_1
1131
+ SQL (0.6ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1132
+ SQL (0.7ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
+ Processing by MechanizeStore::ProductSectionsController#edit as HTML
1135
+ Parameters: {"id"=>"1"}
1136
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1137
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.1ms)
1138
+  (0.6ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+ Processing by MechanizeStore::ProductSectionsController#create as HTML
1141
+ Parameters: {"product_section"=>{"name"=>"MyString"}}
1142
+  (0.1ms) SAVEPOINT active_record_1
1143
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1144
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1146
+ Redirected to http://test.host/mechanize_store/product_sections/1
1147
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
1148
+  (0.7ms) rollback transaction
1149
+  (0.1ms) begin transaction
1150
+  (0.2ms) SELECT COUNT(*) FROM "mechanize_store_product_sections"
1151
+ Processing by MechanizeStore::ProductSectionsController#create as HTML
1152
+ Parameters: {"product_section"=>{"name"=>"MyString"}}
1153
+  (0.1ms) SAVEPOINT active_record_1
1154
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1155
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1157
+ Redirected to http://test.host/mechanize_store/product_sections/1
1158
+ Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
1159
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_sections"
1160
+  (0.6ms) rollback transaction
1161
+  (0.1ms) begin transaction
1162
+ Processing by MechanizeStore::ProductSectionsController#create as HTML
1163
+ Parameters: {"product_section"=>{"name"=>"MyString"}}
1164
+  (0.1ms) SAVEPOINT active_record_1
1165
+ SQL (0.5ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1166
+ SQL (0.5ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1168
+ Redirected to http://test.host/mechanize_store/product_sections/1
1169
+ Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
1170
+ MechanizeStore::ProductSection Load (0.2ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" ORDER BY "mechanize_store_product_sections"."id" DESC LIMIT 1
1171
+  (0.7ms) rollback transaction
1172
+  (0.1ms) begin transaction
1173
+ Processing by MechanizeStore::ProductSectionsController#create as HTML
1174
+ Parameters: {"product_section"=>{"name"=>"invalid value"}}
1175
+ Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.0ms)
1176
+  (0.1ms) rollback transaction
1177
+  (0.1ms) begin transaction
1178
+ Processing by MechanizeStore::ProductSectionsController#create as HTML
1179
+ Parameters: {"product_section"=>{"name"=>"invalid value"}}
1180
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1181
+  (0.1ms) rollback transaction
1182
+  (0.1ms) begin transaction
1183
+  (0.1ms) SAVEPOINT active_record_1
1184
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1185
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1187
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_sections"
1188
+ Processing by MechanizeStore::ProductSectionsController#destroy as HTML
1189
+ Parameters: {"id"=>"1"}
1190
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1191
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1192
+  (0.1ms) SAVEPOINT active_record_1
1193
+ SQL (0.1ms) DELETE FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? [["id", 1]]
1194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1195
+ Redirected to http://test.host/mechanize_store/product_sections
1196
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1197
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_sections"
1198
+  (0.8ms) rollback transaction
1199
+  (0.1ms) begin transaction
1200
+  (0.1ms) SAVEPOINT active_record_1
1201
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1202
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1204
+ Processing by MechanizeStore::ProductSectionsController#destroy as HTML
1205
+ Parameters: {"id"=>"1"}
1206
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1207
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1208
+  (0.1ms) SAVEPOINT active_record_1
1209
+ SQL (0.1ms) DELETE FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? [["id", 1]]
1210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1211
+ Redirected to http://test.host/mechanize_store/product_sections
1212
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1213
+  (0.7ms) rollback transaction
1214
+  (0.1ms) begin transaction
1215
+  (0.1ms) SAVEPOINT active_record_1
1216
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1217
+ SQL (0.5ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1219
+ Processing by MechanizeStore::ProductSectionsController#index as HTML
1220
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
1221
+ MechanizeStore::ProductSection Load (0.2ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" LIMIT 30 OFFSET 0
1222
+  (0.6ms) rollback transaction
1223
+  (0.1ms) begin transaction
1224
+  (0.1ms) SAVEPOINT active_record_1
1225
+ SQL (0.5ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1226
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1228
+ Processing by MechanizeStore::ProductSectionsController#show as HTML
1229
+ Parameters: {"id"=>"1"}
1230
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1231
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
1232
+  (0.7ms) rollback transaction
1233
+  (0.1ms) begin transaction
1234
+  (0.1ms) SAVEPOINT active_record_1
1235
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1236
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1238
+ Processing by MechanizeStore::ProductSectionsController#update as HTML
1239
+ Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
1240
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1241
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1242
+  (0.1ms) SAVEPOINT active_record_1
1243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1244
+ Redirected to http://test.host/mechanize_store/product_sections/1
1245
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1246
+  (0.6ms) rollback transaction
1247
+  (0.1ms) begin transaction
1248
+  (0.1ms) SAVEPOINT active_record_1
1249
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1250
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1252
+ Processing by MechanizeStore::ProductSectionsController#update as HTML
1253
+ Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
1254
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1255
+ MechanizeStore::ProductSection Load (0.0ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1256
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
1257
+  (0.6ms) rollback transaction
1258
+  (0.1ms) begin transaction
1259
+  (0.1ms) SAVEPOINT active_record_1
1260
+ SQL (0.8ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1261
+ SQL (0.4ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1263
+ Processing by MechanizeStore::ProductSectionsController#update as HTML
1264
+ Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
1265
+ MechanizeStore::ProductSection Load (0.2ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1266
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1267
+  (0.1ms) SAVEPOINT active_record_1
1268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1269
+ Redirected to http://test.host/mechanize_store/product_sections/1
1270
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1271
+  (0.7ms) rollback transaction
1272
+  (0.1ms) begin transaction
1273
+  (0.1ms) SAVEPOINT active_record_1
1274
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1275
+ SQL (0.3ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1277
+ Processing by MechanizeStore::ProductSectionsController#update as HTML
1278
+ Parameters: {"product_section"=>{"name"=>"invalid value"}, "id"=>"1"}
1279
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1280
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1281
+  (0.1ms) SAVEPOINT active_record_1
1282
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1283
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
1284
+  (0.5ms) rollback transaction
1285
+  (0.1ms) begin transaction
1286
+  (0.0ms) SAVEPOINT active_record_1
1287
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1288
+ SQL (0.3ms) UPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1 [["name", "MyString"], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1290
+ Processing by MechanizeStore::ProductSectionsController#update as HTML
1291
+ Parameters: {"product_section"=>{"name"=>"invalid value"}, "id"=>"1"}
1292
+ MechanizeStore::ProductSection Load (0.1ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1293
+ MechanizeStore::ProductSection Load (0.0ms) SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
1294
+  (0.1ms) SAVEPOINT active_record_1
1295
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1296
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
1297
+  (0.8ms) rollback transaction
1298
+  (0.1ms) begin transaction
1299
+ Processing by MechanizeStore::ProductSectionsController#new as HTML
1300
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1301
+  (0.1ms) rollback transaction
1302
+  (0.1ms) begin transaction
1303
+  (0.1ms) rollback transaction
1304
+  (0.1ms) begin transaction
1305
+  (0.1ms) rollback transaction
1306
+  (0.1ms) begin transaction
1307
+  (0.1ms) rollback transaction
1308
+  (0.1ms) begin transaction
1309
+  (0.1ms) rollback transaction
1310
+  (0.1ms) begin transaction
1311
+  (0.1ms) rollback transaction
1312
+  (0.1ms) begin transaction
1313
+  (0.0ms) rollback transaction
1314
+  (0.1ms) begin transaction
1315
+  (0.1ms) rollback transaction
1316
+  (0.1ms) begin transaction
1317
+  (0.0ms) rollback transaction
1318
+  (0.1ms) begin transaction
1319
+  (0.1ms) rollback transaction
1320
+  (0.0ms) begin transaction
1321
+  (0.1ms) rollback transaction
1322
+  (0.1ms) begin transaction
1323
+  (0.1ms) rollback transaction
1324
+  (0.1ms) begin transaction
1325
+  (0.1ms) rollback transaction
1326
+  (0.1ms) begin transaction
1327
+  (0.0ms) rollback transaction
1328
+  (0.1ms) begin transaction
1329
+  (0.1ms) rollback transaction
1330
+  (0.1ms) begin transaction
1331
+  (0.0ms) rollback transaction
1332
+  (0.0ms) begin transaction
1333
+  (0.0ms) rollback transaction
1334
+  (0.1ms) begin transaction
1335
+  (0.1ms) rollback transaction
1336
+  (0.1ms) begin transaction
1337
+  (0.1ms) rollback transaction
1338
+  (0.1ms) begin transaction
1339
+  (0.0ms) SAVEPOINT active_record_1
1340
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1342
+ Processing by MechanizeStore::FlagsController#edit as HTML
1343
+ Parameters: {"id"=>"1"}
1344
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1345
+ Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
1346
+  (0.4ms) rollback transaction
1347
+  (0.1ms) begin transaction
1348
+ Processing by MechanizeStore::FlagsController#create as HTML
1349
+ Parameters: {"flag"=>{"name"=>"MyString"}}
1350
+  (0.1ms) SAVEPOINT active_record_1
1351
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1353
+ Redirected to http://test.host/mechanize_store/flags/1
1354
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
1355
+  (0.4ms) rollback transaction
1356
+  (0.1ms) begin transaction
1357
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
1358
+ Processing by MechanizeStore::FlagsController#create as HTML
1359
+ Parameters: {"flag"=>{"name"=>"MyString"}}
1360
+  (0.1ms) SAVEPOINT active_record_1
1361
+ SQL (0.3ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1363
+ Redirected to http://test.host/mechanize_store/flags/1
1364
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
1365
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
1366
+  (0.3ms) rollback transaction
1367
+  (0.1ms) begin transaction
1368
+ Processing by MechanizeStore::FlagsController#create as HTML
1369
+ Parameters: {"flag"=>{"name"=>"MyString"}}
1370
+  (0.1ms) SAVEPOINT active_record_1
1371
+ SQL (0.3ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1373
+ Redirected to http://test.host/mechanize_store/flags/1
1374
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
1375
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" ORDER BY "mechanize_store_flags"."id" DESC LIMIT 1
1376
+  (0.4ms) rollback transaction
1377
+  (0.1ms) begin transaction
1378
+ Processing by MechanizeStore::FlagsController#create as HTML
1379
+ Parameters: {"flag"=>{"name"=>"invalid value"}}
1380
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
1381
+  (0.1ms) rollback transaction
1382
+  (0.1ms) begin transaction
1383
+ Processing by MechanizeStore::FlagsController#create as HTML
1384
+ Parameters: {"flag"=>{"name"=>"invalid value"}}
1385
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1386
+  (0.1ms) rollback transaction
1387
+  (0.1ms) begin transaction
1388
+  (0.1ms) SAVEPOINT active_record_1
1389
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1390
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1391
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
1392
+ Processing by MechanizeStore::FlagsController#destroy as HTML
1393
+ Parameters: {"id"=>"1"}
1394
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1395
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1396
+  (0.0ms) SAVEPOINT active_record_1
1397
+ SQL (0.3ms) DELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? [["id", 1]]
1398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1399
+ Redirected to http://test.host/mechanize_store/flags
1400
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
1401
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
1402
+  (0.6ms) rollback transaction
1403
+  (0.1ms) begin transaction
1404
+  (0.1ms) SAVEPOINT active_record_1
1405
+ SQL (0.8ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1406
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1407
+ Processing by MechanizeStore::FlagsController#destroy as HTML
1408
+ Parameters: {"id"=>"1"}
1409
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1410
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1411
+  (0.1ms) SAVEPOINT active_record_1
1412
+ SQL (0.3ms) DELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? [["id", 1]]
1413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1414
+ Redirected to http://test.host/mechanize_store/flags
1415
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
1416
+  (0.7ms) rollback transaction
1417
+  (0.1ms) begin transaction
1418
+  (0.1ms) SAVEPOINT active_record_1
1419
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1420
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1421
+ Processing by MechanizeStore::FlagsController#index as HTML
1422
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
1423
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" LIMIT 30 OFFSET 0
1424
+  (0.3ms) rollback transaction
1425
+  (0.1ms) begin transaction
1426
+  (0.0ms) SAVEPOINT active_record_1
1427
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1429
+ Processing by MechanizeStore::FlagsController#show as HTML
1430
+ Parameters: {"id"=>"1"}
1431
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1432
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
1433
+  (0.4ms) rollback transaction
1434
+  (0.1ms) begin transaction
1435
+  (0.1ms) SAVEPOINT active_record_1
1436
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1437
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1438
+ Processing by MechanizeStore::FlagsController#update as HTML
1439
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
1440
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1441
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1442
+  (0.1ms) SAVEPOINT active_record_1
1443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1444
+ Redirected to http://test.host/mechanize_store/flags/1
1445
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
1446
+  (0.4ms) rollback transaction
1447
+  (0.1ms) begin transaction
1448
+  (0.1ms) SAVEPOINT active_record_1
1449
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1450
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1451
+ Processing by MechanizeStore::FlagsController#update as HTML
1452
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
1453
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1454
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1455
+ Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
1456
+  (0.4ms) rollback transaction
1457
+  (0.1ms) begin transaction
1458
+  (0.1ms) SAVEPOINT active_record_1
1459
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1461
+ Processing by MechanizeStore::FlagsController#update as HTML
1462
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
1463
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1464
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1465
+  (0.0ms) SAVEPOINT active_record_1
1466
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1467
+ Redirected to http://test.host/mechanize_store/flags/1
1468
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1469
+  (0.4ms) rollback transaction
1470
+  (0.1ms) begin transaction
1471
+  (0.1ms) SAVEPOINT active_record_1
1472
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1474
+ Processing by MechanizeStore::FlagsController#update as HTML
1475
+ Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
1476
+ MechanizeStore::Flag Load (0.2ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1477
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1478
+  (0.1ms) SAVEPOINT active_record_1
1479
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1480
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
1481
+  (0.4ms) rollback transaction
1482
+  (0.1ms) begin transaction
1483
+  (0.1ms) SAVEPOINT active_record_1
1484
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00]]
1485
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1486
+ Processing by MechanizeStore::FlagsController#update as HTML
1487
+ Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
1488
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1489
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
1490
+  (0.1ms) SAVEPOINT active_record_1
1491
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1492
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
1493
+  (0.5ms) rollback transaction
1494
+  (0.1ms) begin transaction
1495
+ Processing by MechanizeStore::FlagsController#new as HTML
1496
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1497
+  (0.1ms) rollback transaction
1498
+  (0.1ms) begin transaction
1499
+  (0.1ms) rollback transaction
1500
+  (0.0ms) begin transaction
1501
+  (0.1ms) rollback transaction
1502
+  (0.1ms) begin transaction
1503
+  (0.1ms) rollback transaction
1504
+  (0.1ms) begin transaction
1505
+  (0.0ms) rollback transaction
1506
+  (0.1ms) begin transaction
1507
+  (0.1ms) rollback transaction
1508
+  (0.0ms) begin transaction
1509
+  (0.1ms) rollback transaction
1510
+  (0.1ms) begin transaction
1511
+  (0.1ms) rollback transaction
1512
+  (0.1ms) begin transaction
1513
+  (0.1ms) SAVEPOINT active_record_1
1514
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1515
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1517
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
1518
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x0000010924c840 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140721-9731-1sl09u0>>]}, "product_id"=>"1"}
1519
+ MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1520
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]' 2>/dev/null
1521
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1522
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1523
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1524
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i20140721-9731-12i8l4i'
1525
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i20140721-9731-12i8l4i'
1526
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]' 2>/dev/null
1527
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1528
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1529
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]'
1530
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i20140721-9731-1rrqmp9'
1531
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1kz3b1i20140721-9731-1rrqmp9'
1532
+  (0.1ms) SAVEPOINT active_record_1
1533
+ SQL (0.7ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:38 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00]]
1534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1535
+ Redirected to http://test.host/mechanize_store/products/1
1536
+ Completed 302 Found in 257ms (ActiveRecord: 1.4ms)
1537
+  (0.7ms) rollback transaction
1538
+  (0.1ms) begin transaction
1539
+  (0.1ms) SAVEPOINT active_record_1
1540
+ SQL (0.9ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1541
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1542
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1543
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
1544
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
1545
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x00000108ab3cf0 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140721-9731-8facqf>>]}, "product_id"=>"1"}
1546
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1547
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]' 2>/dev/null
1548
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1549
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1550
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1551
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm20140721-9731-1y6dtzq'
1552
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm20140721-9731-1y6dtzq'
1553
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]' 2>/dev/null
1554
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1555
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1556
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]'
1557
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm20140721-9731-q4g1ul'
1558
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-kz14rm20140721-9731-q4g1ul'
1559
+  (0.1ms) SAVEPOINT active_record_1
1560
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00]]
1561
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1562
+ Redirected to http://test.host/mechanize_store/products/1
1563
+ Completed 302 Found in 185ms (ActiveRecord: 0.6ms)
1564
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
1565
+  (0.8ms) rollback transaction
1566
+  (0.1ms) begin transaction
1567
+  (0.1ms) SAVEPOINT active_record_1
1568
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1569
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1570
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1571
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
1572
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x000001093efdf0 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140721-9731-11hnyz>>]}, "product_id"=>"1"}
1573
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1574
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]' 2>/dev/null
1575
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1576
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1577
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1578
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk0720140721-9731-6wkcc1'
1579
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk0720140721-9731-6wkcc1'
1580
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]' 2>/dev/null
1581
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1582
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1583
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]'
1584
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk07.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk0720140721-9731-pmtn1g'
1585
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-r9dk0720140721-9731-pmtn1g'
1586
+  (0.1ms) SAVEPOINT active_record_1
1587
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00]]
1588
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1589
+ Redirected to http://test.host/mechanize_store/products/1
1590
+ Completed 302 Found in 189ms (ActiveRecord: 0.6ms)
1591
+  (0.8ms) rollback transaction
1592
+  (0.1ms) begin transaction
1593
+  (0.1ms) SAVEPOINT active_record_1
1594
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1595
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1597
+ Processing by MechanizeStore::ProductPhotosController#create as JSON
1598
+ Parameters: {"product_photo"=>{"file"=>[nil]}, "product_id"=>"1"}
1599
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1600
+  (0.1ms) SAVEPOINT active_record_1
1601
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1602
+ Completed 422 Unprocessable Entity in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
1603
+  (0.6ms) rollback transaction
1604
+  (0.1ms) begin transaction
1605
+  (0.1ms) SAVEPOINT active_record_1
1606
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1607
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1608
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1609
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]' 2>/dev/null
1610
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1611
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1612
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1613
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf020140721-9731-1fquzlo'
1614
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf020140721-9731-1fquzlo'
1615
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]' 2>/dev/null
1616
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1617
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1618
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]'
1619
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf0.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf020140721-9731-aje6wq'
1620
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-x3bf020140721-9731-aje6wq'
1621
+  (0.1ms) SAVEPOINT active_record_1
1622
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00]]
1623
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1624
+ Processing by MechanizeStore::ProductPhotosController#index as JSON
1625
+ Parameters: {"product_id"=>"1"}
1626
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1627
+ Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)
1628
+ MechanizeStore::ProductPhoto Load (0.2ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ? [["product_id", 1]]
1629
+ MechanizeStore::ProductPhoto Load (0.1ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ? [["product_id", 1]]
1630
+  (0.7ms) rollback transaction
1631
+  (0.1ms) begin transaction
1632
+  (0.1ms) SAVEPOINT active_record_1
1633
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1634
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1635
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]' 2>/dev/null
1637
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1638
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1639
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1640
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim720140721-9731-52fw2t'
1641
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim720140721-9731-52fw2t'
1642
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]' 2>/dev/null
1643
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1644
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1645
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]'
1646
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim7.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim720140721-9731-rhcera'
1647
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1wecim720140721-9731-rhcera'
1648
+  (0.1ms) SAVEPOINT active_record_1
1649
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:39 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1650
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1651
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
1652
+ Processing by MechanizeStore::ProductPhotosController#destroy as HTML
1653
+ Parameters: {"id"=>"1"}
1654
+ MechanizeStore::ProductPhoto Load (0.1ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
1655
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
1656
+  (0.1ms) SAVEPOINT active_record_1
1657
+ SQL (0.2ms) DELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? [["id", 1]]
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1659
+ Redirected to http://test.host/mechanize_store/products/1
1660
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
1661
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
1662
+  (0.6ms) rollback transaction
1663
+  (0.1ms) begin transaction
1664
+  (0.1ms) SAVEPOINT active_record_1
1665
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
1666
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "width" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "MyText"], ["short_description", "MyString"], ["price", 1.5], ["weight", 1.5], ["length", 1.5], ["height", 1.5], ["width", 1.5], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1668
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]' 2>/dev/null
1669
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1670
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1671
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1672
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if318920140721-9731-xwze2x'
1673
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if318920140721-9731-xwze2x'
1674
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]' 2>/dev/null
1675
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1676
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1677
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]'
1678
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if3189.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if318920140721-9731-q0gl74'
1679
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140721-9731-1if318920140721-9731-q0gl74'
1680
+  (0.1ms) SAVEPOINT active_record_1
1681
+ SQL (0.3ms) INSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["product_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1683
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
1684
+ Processing by MechanizeStore::ProductPhotosController#destroy as HTML
1685
+ Parameters: {"id"=>"1"}
1686
+ MechanizeStore::ProductPhoto Load (0.1ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
1687
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
1688
+  (0.1ms) SAVEPOINT active_record_1
1689
+ SQL (0.1ms) DELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? [["id", 1]]
1690
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1691
+ Redirected to http://test.host/mechanize_store/products/1
1692
+ Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
1693
+  (0.7ms) rollback transaction
1694
+  (0.1ms) begin transaction
1695
+  (0.1ms) rollback transaction
1696
+  (0.9ms) begin transaction
1697
+  (0.1ms) rollback transaction
1698
+  (0.1ms) begin transaction
1699
+  (0.2ms) rollback transaction
1700
+  (0.0ms) begin transaction
1701
+  (0.1ms) rollback transaction
1702
+  (0.0ms) begin transaction
1703
+  (0.1ms) rollback transaction
1704
+  (0.1ms) begin transaction
1705
+  (0.0ms) rollback transaction
1706
+  (0.1ms) begin transaction
1707
+  (0.1ms) rollback transaction
1708
+  (0.1ms) begin transaction
1709
+  (0.1ms) SAVEPOINT active_record_1
1710
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1712
+  (0.1ms) SAVEPOINT active_record_1
1713
+ SQL (0.5ms) INSERT INTO "mechanize_store_freights" ("created_at", "delivery_time", "service", "updated_at", "value", "zipcode") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["delivery_time", 1], ["service", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["value", 1.5], ["zipcode", "MyString"]]
1714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1715
+  (0.1ms) SAVEPOINT active_record_1
1716
+ SQL (0.3ms) INSERT INTO "mechanize_store_orders" ("created_at", "order_status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["order_status", 2], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1717
+ SQL (0.4ms) INSERT INTO "mechanize_store_payments" ("created_at", "flag_id", "order_id", "paid_in", "paid_value", "payment_status", "payment_type", "plot", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["flag_id", 1], ["order_id", 1], ["paid_in", Wed, 02 Apr 2014 11:05:39 UTC +00:00], ["paid_value", 1.5], ["payment_status", 3], ["payment_type", 1], ["plot", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["value", 1.5]]
1718
+ SQL (0.2ms) UPDATE "mechanize_store_freights" SET "order_id" = ?, "updated_at" = ? WHERE "mechanize_store_freights"."id" = 1 [["order_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1719
+ MechanizeStore::OrderItem Load (0.1ms) SELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ? [["order_id", 1]]
1720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1721
+ Processing by MechanizeStore::OrdersController#index as HTML
1722
+ Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
1723
+ MechanizeStore::Order Load (0.1ms) SELECT "mechanize_store_orders".* FROM "mechanize_store_orders" LIMIT 30 OFFSET 0
1724
+  (0.8ms) rollback transaction
1725
+  (0.1ms) begin transaction
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.3ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["name", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+  (0.0ms) SAVEPOINT active_record_1
1730
+ SQL (0.3ms) INSERT INTO "mechanize_store_freights" ("created_at", "delivery_time", "service", "updated_at", "value", "zipcode") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["delivery_time", 1], ["service", "MyString"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["value", 1.5], ["zipcode", "MyString"]]
1731
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.0ms) SAVEPOINT active_record_1
1733
+ SQL (0.2ms) INSERT INTO "mechanize_store_orders" ("created_at", "order_status", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["order_status", 2], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1734
+ SQL (0.2ms) INSERT INTO "mechanize_store_payments" ("created_at", "flag_id", "order_id", "paid_in", "paid_value", "payment_status", "payment_type", "plot", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["flag_id", 1], ["order_id", 1], ["paid_in", Wed, 02 Apr 2014 11:05:39 UTC +00:00], ["paid_value", 1.5], ["payment_status", 3], ["payment_type", 1], ["plot", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["value", 1.5]]
1735
+ SQL (0.1ms) UPDATE "mechanize_store_freights" SET "order_id" = ?, "updated_at" = ? WHERE "mechanize_store_freights"."id" = 1 [["order_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
1736
+ MechanizeStore::OrderItem Load (0.0ms) SELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ? [["order_id", 1]]
1737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1738
+ Processing by MechanizeStore::OrdersController#show as HTML
1739
+ Parameters: {"id"=>"1"}
1740
+ MechanizeStore::Order Load (0.2ms) SELECT "mechanize_store_orders".* FROM "mechanize_store_orders" WHERE "mechanize_store_orders"."id" = ? LIMIT 1 [["id", "1"]]
1741
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
1742
+  (0.9ms) rollback transaction
1743
+  (0.1ms) begin transaction
1744
+  (0.1ms) SAVEPOINT active_record_1
1745
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1746
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1748
+ Processing by MechanizeStore::ProductsController#edit as HTML
1749
+ Parameters: {"id"=>"1"}
1750
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1751
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
1752
+  (0.7ms) rollback transaction
1753
+  (0.1ms) begin transaction
1754
+ Processing by MechanizeStore::ProductsController#create as HTML
1755
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
1756
+  (0.2ms) SAVEPOINT active_record_1
1757
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1758
+ SQL (0.6ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "width" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "Product description"], ["short_description", "Short"], ["width", 1.0], ["price", 10.0], ["weight", 1.0], ["length", 2.0], ["height", 2.0], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1760
+ Redirected to http://test.host/mechanize_store/products/1
1761
+ Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
1762
+  (0.6ms) rollback transaction
1763
+  (0.1ms) begin transaction
1764
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
1765
+ Processing by MechanizeStore::ProductsController#create as HTML
1766
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
1767
+  (0.1ms) SAVEPOINT active_record_1
1768
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1769
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "width" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "Product description"], ["short_description", "Short"], ["width", 1.0], ["price", 10.0], ["weight", 1.0], ["length", 2.0], ["height", 2.0], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1771
+ Redirected to http://test.host/mechanize_store/products/1
1772
+ Completed 302 Found in 6ms (ActiveRecord: 0.8ms)
1773
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
1774
+  (0.6ms) rollback transaction
1775
+  (0.1ms) begin transaction
1776
+ Processing by MechanizeStore::ProductsController#create as HTML
1777
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
1778
+  (0.1ms) SAVEPOINT active_record_1
1779
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1780
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "description" = ?, "short_description" = ?, "width" = ?, "price" = ?, "weight" = ?, "length" = ?, "height" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["description", "Product description"], ["short_description", "Short"], ["width", 1.0], ["price", 10.0], ["weight", 1.0], ["length", 2.0], ["height", 2.0], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1782
+ Redirected to http://test.host/mechanize_store/products/1
1783
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
1784
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" DESC LIMIT 1
1785
+  (0.6ms) rollback transaction
1786
+  (0.1ms) begin transaction
1787
+ Processing by MechanizeStore::ProductsController#create as HTML
1788
+ Parameters: {"product"=>{"name"=>"invalid value"}}
1789
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
1790
+  (0.1ms) rollback transaction
1791
+  (0.1ms) begin transaction
1792
+ Processing by MechanizeStore::ProductsController#create as HTML
1793
+ Parameters: {"product"=>{"name"=>"invalid value"}}
1794
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1795
+  (0.1ms) rollback transaction
1796
+  (0.1ms) begin transaction
1797
+  (0.0ms) SAVEPOINT active_record_1
1798
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1799
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1801
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
1802
+ Processing by MechanizeStore::ProductsController#destroy as HTML
1803
+ Parameters: {"id"=>"1"}
1804
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1805
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1806
+  (0.0ms) SAVEPOINT active_record_1
1807
+ SQL (0.1ms) DELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? [["id", 1]]
1808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1809
+ Redirected to http://test.host/mechanize_store/products
1810
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
1811
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
1812
+  (0.7ms) rollback transaction
1813
+  (0.1ms) begin transaction
1814
+  (0.1ms) SAVEPOINT active_record_1
1815
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1816
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1817
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1818
+ Processing by MechanizeStore::ProductsController#destroy as HTML
1819
+ Parameters: {"id"=>"1"}
1820
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1821
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1822
+  (0.0ms) SAVEPOINT active_record_1
1823
+ SQL (0.1ms) DELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? [["id", 1]]
1824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1825
+ Redirected to http://test.host/mechanize_store/products
1826
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
1827
+  (0.6ms) rollback transaction
1828
+  (0.1ms) begin transaction
1829
+  (0.2ms) SAVEPOINT active_record_1
1830
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1831
+ SQL (0.5ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1832
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1833
+ Processing by MechanizeStore::ProductsController#index as HTML
1834
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
1835
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" LIMIT 30 OFFSET 0
1836
+  (0.6ms) rollback transaction
1837
+  (0.1ms) begin transaction
1838
+  (0.1ms) SAVEPOINT active_record_1
1839
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1840
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1842
+ Processing by MechanizeStore::ProductsController#show as HTML
1843
+ Parameters: {"id"=>"1"}
1844
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1845
+ Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)
1846
+  (0.6ms) rollback transaction
1847
+  (0.1ms) begin transaction
1848
+  (0.0ms) SAVEPOINT active_record_1
1849
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1850
+ SQL (0.5ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1852
+ Processing by MechanizeStore::ProductsController#update as HTML
1853
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}, "id"=>"1"}
1854
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1855
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1856
+  (0.1ms) SAVEPOINT active_record_1
1857
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1858
+ Redirected to http://test.host/mechanize_store/products/1
1859
+ Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
1860
+  (0.6ms) rollback transaction
1861
+  (0.1ms) begin transaction
1862
+  (0.1ms) SAVEPOINT active_record_1
1863
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1864
+ SQL (0.4ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1865
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1866
+ Processing by MechanizeStore::ProductsController#update as HTML
1867
+ Parameters: {"product"=>{"name"=>"MyString"}, "id"=>"1"}
1868
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1869
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1870
+ Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.1ms)
1871
+  (0.7ms) rollback transaction
1872
+  (0.1ms) begin transaction
1873
+  (0.2ms) SAVEPOINT active_record_1
1874
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1875
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1877
+ Processing by MechanizeStore::ProductsController#update as HTML
1878
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}, "id"=>"1"}
1879
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1880
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1881
+  (0.0ms) SAVEPOINT active_record_1
1882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1883
+ Redirected to http://test.host/mechanize_store/products/1
1884
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
1885
+  (0.6ms) rollback transaction
1886
+  (0.1ms) begin transaction
1887
+  (0.1ms) SAVEPOINT active_record_1
1888
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1889
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1891
+ Processing by MechanizeStore::ProductsController#update as HTML
1892
+ Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
1893
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1894
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1895
+  (0.0ms) SAVEPOINT active_record_1
1896
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1897
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
1898
+  (0.7ms) rollback transaction
1899
+  (0.1ms) begin transaction
1900
+  (0.1ms) SAVEPOINT active_record_1
1901
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
1902
+ SQL (0.3ms) UPDATE "mechanize_store_products" SET "name" = ?, "price" = ?, "width" = ?, "height" = ?, "length" = ?, "weight" = ?, "description" = ?, "short_description" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_products"."id" = 1 [["name", "MyString"], ["price", 10.0], ["width", 1.0], ["height", 2.0], ["length", 2.0], ["weight", 1.0], ["description", "Product description"], ["short_description", "Short"], ["created_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00], ["id", 1], ["slug", "mystring"]]
1903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1904
+ Processing by MechanizeStore::ProductsController#update as HTML
1905
+ Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
1906
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1907
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
1908
+  (0.0ms) SAVEPOINT active_record_1
1909
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1910
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
1911
+  (0.8ms) rollback transaction
1912
+  (0.1ms) begin transaction
1913
+ Processing by MechanizeStore::ProductsController#new as HTML
1914
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
1915
+  (0.1ms) rollback transaction
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mechanize_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilbert Ribeiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-17 00:00:00.000000000 Z
11
+ date: 2014-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -323,6 +323,7 @@ files:
323
323
  - db/migrate/20140606124916_add_slug_to_product_section.rb
324
324
  - db/migrate/20140606130912_add_product_section_id_to_mechanize_store_product_category.rb
325
325
  - db/migrate/20140717182327_add_color_and_size_to_mechanize_store_order_item.rb
326
+ - db/migrate/20140721124512_add_slug_to_mechanize_store_products.rb
326
327
  - lib/mechanize_store.rb
327
328
  - lib/mechanize_store/engine.rb
328
329
  - lib/mechanize_store/version.rb