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 +4 -4
- data/app/models/mechanize_store/product.rb +11 -0
- data/db/migrate/20140721124512_add_slug_to_mechanize_store_products.rb +5 -0
- data/lib/mechanize_store/version.rb +1 -1
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +974 -0
- data/spec/dummy/public/photos/1/medium.png +0 -0
- data/spec/dummy/public/photos/1/thumb.png +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aa02e956f206c438a753e3fce53dc7bb039ff4e
|
4
|
+
data.tar.gz: 489b836a8ec03455ae619761dd13ee3b30fab118
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
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"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -939,3 +939,977 @@ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
939
939
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
940
940
|
[1m[35m (0.0ms)[0m begin transaction
|
941
941
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
942
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
943
|
+
Migrating to AddColorAndSizeToMechanizeStoreOrderItem (20140717182327)
|
944
|
+
[1m[35m (0.1ms)[0m begin transaction
|
945
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "mechanize_store_order_items" ADD "color" varchar(255)[0m
|
946
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "mechanize_store_order_items" ADD "size" varchar(255)
|
947
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140717182327"]]
|
948
|
+
[1m[35m (1.1ms)[0m commit transaction
|
949
|
+
Migrating to AddSlugToMechanizeStoreProducts (20140721124512)
|
950
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
951
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "mechanize_store_products" ADD "slug" varchar(255)
|
952
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140721124512"]]
|
953
|
+
[1m[35m (0.8ms)[0m commit transaction
|
954
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
955
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
956
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
957
|
+
[1m[36mSQL (4.9ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
960
|
+
Processing by MechanizeStore::ProductCategoriesController#edit as HTML
|
961
|
+
Parameters: {"id"=>"1"}
|
962
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.2ms)[0m 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
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
966
|
+
[1m[35m (0.1ms)[0m begin transaction
|
967
|
+
Processing by MechanizeStore::ProductCategoriesController#create as HTML
|
968
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}}
|
969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
970
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
976
|
+
[1m[35m (0.1ms)[0m begin transaction
|
977
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_product_categories"[0m
|
978
|
+
Processing by MechanizeStore::ProductCategoriesController#create as HTML
|
979
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}}
|
980
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
981
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
984
|
+
Redirected to http://test.host/mechanize_store/product_categories/1
|
985
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
|
986
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_categories"
|
987
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
989
|
+
Processing by MechanizeStore::ProductCategoriesController#create as HTML
|
990
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}}
|
991
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
992
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" ORDER BY "mechanize_store_product_categories"."id" DESC LIMIT 1[0m
|
998
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
999
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1004
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1010
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1011
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1014
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_categories"
|
1015
|
+
Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
|
1016
|
+
Parameters: {"id"=>"1"}
|
1017
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1018
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.0ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1019
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1020
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
|
1021
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1022
|
+
Redirected to http://test.host/mechanize_store/product_categories
|
1023
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
1024
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_categories"
|
1025
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1026
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1027
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1028
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1031
|
+
Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
|
1032
|
+
Parameters: {"id"=>"1"}
|
1033
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1034
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.0ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1035
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1036
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
|
1037
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1038
|
+
Redirected to http://test.host/mechanize_store/product_categories
|
1039
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1040
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1041
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1042
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1043
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1046
|
+
Processing by MechanizeStore::ProductCategoriesController#index as HTML
|
1047
|
+
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1048
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.2ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" LIMIT 30 OFFSET 0
|
1049
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1051
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1052
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "mechanize_store_product_categories" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_categories"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1055
|
+
Processing by MechanizeStore::ProductCategoriesController#show as HTML
|
1056
|
+
Parameters: {"id"=>"1"}
|
1057
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1058
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1059
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1061
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1062
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1065
|
+
Processing by MechanizeStore::ProductCategoriesController#update as HTML
|
1066
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
|
1067
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.1ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1068
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.0ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1070
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1071
|
+
Redirected to http://test.host/mechanize_store/product_categories/1
|
1072
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
1073
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1074
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1075
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1076
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1079
|
+
Processing by MechanizeStore::ProductCategoriesController#update as HTML
|
1080
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
|
1081
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.1ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1082
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1083
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
1084
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1086
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1087
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1090
|
+
Processing by MechanizeStore::ProductCategoriesController#update as HTML
|
1091
|
+
Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
|
1092
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.1ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1093
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1094
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1095
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1096
|
+
Redirected to http://test.host/mechanize_store/product_categories/1
|
1097
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1098
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1100
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1101
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1104
|
+
Processing by MechanizeStore::ProductCategoriesController#update as HTML
|
1105
|
+
Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1106
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.1ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1107
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.0ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1108
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1109
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1110
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1111
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1113
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1114
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1117
|
+
Processing by MechanizeStore::ProductCategoriesController#update as HTML
|
1118
|
+
Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1119
|
+
[1m[35mMechanizeStore::ProductCategory Load (0.1ms)[0m SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1120
|
+
[1m[36mMechanizeStore::ProductCategory Load (0.1ms)[0m [1mSELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1122
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1123
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
|
1124
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1125
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1126
|
+
Processing by MechanizeStore::ProductCategoriesController#new as HTML
|
1127
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1130
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1131
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1134
|
+
Processing by MechanizeStore::ProductSectionsController#edit as HTML
|
1135
|
+
Parameters: {"id"=>"1"}
|
1136
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1139
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1140
|
+
Processing by MechanizeStore::ProductSectionsController#create as HTML
|
1141
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}}
|
1142
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1143
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1149
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1150
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_product_sections"[0m
|
1151
|
+
Processing by MechanizeStore::ProductSectionsController#create as HTML
|
1152
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}}
|
1153
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1154
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1157
|
+
Redirected to http://test.host/mechanize_store/product_sections/1
|
1158
|
+
Completed 302 Found in 4ms (ActiveRecord: 1.0ms)
|
1159
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_sections"
|
1160
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1161
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1162
|
+
Processing by MechanizeStore::ProductSectionsController#create as HTML
|
1163
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}}
|
1164
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1165
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::ProductSection Load (0.2ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" ORDER BY "mechanize_store_product_sections"."id" DESC LIMIT 1[0m
|
1171
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1183
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1184
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1187
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_sections"
|
1188
|
+
Processing by MechanizeStore::ProductSectionsController#destroy as HTML
|
1189
|
+
Parameters: {"id"=>"1"}
|
1190
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1191
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? [["id", 1]]
|
1194
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1195
|
+
Redirected to http://test.host/mechanize_store/product_sections
|
1196
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1197
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_sections"
|
1198
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1200
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1204
|
+
Processing by MechanizeStore::ProductSectionsController#destroy as HTML
|
1205
|
+
Parameters: {"id"=>"1"}
|
1206
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1207
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1208
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1209
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? [["id", 1]]
|
1210
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1211
|
+
Redirected to http://test.host/mechanize_store/product_sections
|
1212
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1213
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1214
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1215
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1216
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1219
|
+
Processing by MechanizeStore::ProductSectionsController#index as HTML
|
1220
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
1221
|
+
[1m[35mMechanizeStore::ProductSection Load (0.2ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" LIMIT 30 OFFSET 0
|
1222
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1223
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1225
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "mechanize_store_product_sections" SET "name" = ?, "created_at" = ?, "updated_at" = ?, "id" = ?, "slug" = ? WHERE "mechanize_store_product_sections"."id" = 1[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1228
|
+
Processing by MechanizeStore::ProductSectionsController#show as HTML
|
1229
|
+
Parameters: {"id"=>"1"}
|
1230
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1231
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
1232
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1233
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1234
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1235
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1238
|
+
Processing by MechanizeStore::ProductSectionsController#update as HTML
|
1239
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
|
1240
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1241
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1244
|
+
Redirected to http://test.host/mechanize_store/product_sections/1
|
1245
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1246
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1248
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1249
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1252
|
+
Processing by MechanizeStore::ProductSectionsController#update as HTML
|
1253
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
|
1254
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1255
|
+
[1m[36mMechanizeStore::ProductSection Load (0.0ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1256
|
+
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
|
1257
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1258
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1259
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1260
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1263
|
+
Processing by MechanizeStore::ProductSectionsController#update as HTML
|
1264
|
+
Parameters: {"product_section"=>{"name"=>"MyString"}, "id"=>"1"}
|
1265
|
+
[1m[35mMechanizeStore::ProductSection Load (0.2ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1266
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1267
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1268
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1269
|
+
Redirected to http://test.host/mechanize_store/product_sections/1
|
1270
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1271
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1273
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1277
|
+
Processing by MechanizeStore::ProductSectionsController#update as HTML
|
1278
|
+
Parameters: {"product_section"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1279
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1280
|
+
[1m[36mMechanizeStore::ProductSection Load (0.1ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1281
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1282
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1283
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
1284
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1286
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1287
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_product_sections" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1290
|
+
Processing by MechanizeStore::ProductSectionsController#update as HTML
|
1291
|
+
Parameters: {"product_section"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1292
|
+
[1m[35mMechanizeStore::ProductSection Load (0.1ms)[0m SELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1 [["id", "1"]]
|
1293
|
+
[1m[36mMechanizeStore::ProductSection Load (0.0ms)[0m [1mSELECT "mechanize_store_product_sections".* FROM "mechanize_store_product_sections" WHERE "mechanize_store_product_sections"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1295
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1296
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1297
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1299
|
+
Processing by MechanizeStore::ProductSectionsController#new as HTML
|
1300
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
1301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1311
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1313
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1314
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1317
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1318
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1319
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1320
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1321
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1323
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1327
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1328
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1329
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1331
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1333
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1334
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1335
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1336
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1338
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1339
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1340
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1342
|
+
Processing by MechanizeStore::FlagsController#edit as HTML
|
1343
|
+
Parameters: {"id"=>"1"}
|
1344
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1345
|
+
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
1346
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1347
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1348
|
+
Processing by MechanizeStore::FlagsController#create as HTML
|
1349
|
+
Parameters: {"flag"=>{"name"=>"MyString"}}
|
1350
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1351
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1357
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_flags"[0m
|
1358
|
+
Processing by MechanizeStore::FlagsController#create as HTML
|
1359
|
+
Parameters: {"flag"=>{"name"=>"MyString"}}
|
1360
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1361
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_flags"[0m
|
1366
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1368
|
+
Processing by MechanizeStore::FlagsController#create as HTML
|
1369
|
+
Parameters: {"flag"=>{"name"=>"MyString"}}
|
1370
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" ORDER BY "mechanize_store_flags"."id" DESC LIMIT 1[0m
|
1376
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1377
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1382
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1387
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1388
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1389
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1391
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_flags"[0m
|
1392
|
+
Processing by MechanizeStore::FlagsController#destroy as HTML
|
1393
|
+
Parameters: {"id"=>"1"}
|
1394
|
+
[1m[35mMechanizeStore::Flag Load (0.1ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1395
|
+
[1m[36mMechanizeStore::Flag Load (0.0ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1397
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ?[0m [["id", 1]]
|
1398
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1399
|
+
Redirected to http://test.host/mechanize_store/flags
|
1400
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
1401
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_flags"[0m
|
1402
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1404
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1405
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1407
|
+
Processing by MechanizeStore::FlagsController#destroy as HTML
|
1408
|
+
Parameters: {"id"=>"1"}
|
1409
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1410
|
+
[1m[35mMechanizeStore::Flag Load (0.1ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1411
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1412
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? [["id", 1]]
|
1413
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1414
|
+
Redirected to http://test.host/mechanize_store/flags
|
1415
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
1416
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1417
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1419
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" LIMIT 30 OFFSET 0[0m
|
1424
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1425
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1427
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1429
|
+
Processing by MechanizeStore::FlagsController#show as HTML
|
1430
|
+
Parameters: {"id"=>"1"}
|
1431
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1432
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
1433
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1434
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1436
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1438
|
+
Processing by MechanizeStore::FlagsController#update as HTML
|
1439
|
+
Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
|
1440
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1441
|
+
[1m[35mMechanizeStore::Flag Load (0.0ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1442
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1447
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1448
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1449
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1451
|
+
Processing by MechanizeStore::FlagsController#update as HTML
|
1452
|
+
Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
|
1453
|
+
[1m[35mMechanizeStore::Flag Load (0.1ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1454
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1455
|
+
Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.1ms)
|
1456
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1457
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1458
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1459
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1461
|
+
Processing by MechanizeStore::FlagsController#update as HTML
|
1462
|
+
Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
|
1463
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1464
|
+
[1m[35mMechanizeStore::Flag Load (0.0ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1466
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1470
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1471
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1472
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1474
|
+
Processing by MechanizeStore::FlagsController#update as HTML
|
1475
|
+
Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1476
|
+
[1m[35mMechanizeStore::Flag Load (0.2ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1477
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1478
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1479
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1480
|
+
Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.4ms)
|
1481
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1482
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1483
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1484
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1486
|
+
Processing by MechanizeStore::FlagsController#update as HTML
|
1487
|
+
Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1488
|
+
[1m[36mMechanizeStore::Flag Load (0.1ms)[0m [1mSELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1489
|
+
[1m[35mMechanizeStore::Flag Load (0.0ms)[0m SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
|
1490
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1491
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1492
|
+
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1493
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1495
|
+
Processing by MechanizeStore::FlagsController#new as HTML
|
1496
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
1497
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1501
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1502
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1503
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1505
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1506
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1507
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1509
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1510
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1513
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1514
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mMechanizeStore::Product Load (0.2ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1533
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1538
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1539
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1540
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1543
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_product_photos"[0m
|
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
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1560
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1562
|
+
Redirected to http://test.host/mechanize_store/products/1
|
1563
|
+
Completed 302 Found in 185ms (ActiveRecord: 0.6ms)
|
1564
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "mechanize_store_product_photos"
|
1565
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1567
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1568
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1587
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1593
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1594
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1597
|
+
Processing by MechanizeStore::ProductPhotosController#create as JSON
|
1598
|
+
Parameters: {"product_photo"=>{"file"=>[nil]}, "product_id"=>"1"}
|
1599
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1600
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1601
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1602
|
+
Completed 422 Unprocessable Entity in 4ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
1603
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1604
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1605
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1606
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1622
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1624
|
+
Processing by MechanizeStore::ProductPhotosController#index as JSON
|
1625
|
+
Parameters: {"product_id"=>"1"}
|
1626
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1627
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.1ms)
|
1628
|
+
[1m[35mMechanizeStore::ProductPhoto Load (0.2ms)[0m SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ? [["product_id", 1]]
|
1629
|
+
[1m[36mMechanizeStore::ProductPhoto Load (0.1ms)[0m [1mSELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ?[0m [["product_id", 1]]
|
1630
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1631
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1632
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1633
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1649
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1651
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_product_photos"[0m
|
1652
|
+
Processing by MechanizeStore::ProductPhotosController#destroy as HTML
|
1653
|
+
Parameters: {"id"=>"1"}
|
1654
|
+
[1m[35mMechanizeStore::ProductPhoto Load (0.1ms)[0m SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
|
1655
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
1656
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1657
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ?[0m [["id", 1]]
|
1658
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_product_photos"[0m
|
1662
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1663
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1664
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1665
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1681
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_product_photos" ("created_at", "file_content_type", "file_file_name", "file_file_size", "file_updated_at", "product_id", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1683
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
1684
|
+
Processing by MechanizeStore::ProductPhotosController#destroy as HTML
|
1685
|
+
Parameters: {"id"=>"1"}
|
1686
|
+
[1m[35mMechanizeStore::ProductPhoto Load (0.1ms)[0m SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
|
1687
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", 1]]
|
1688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1689
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ?[0m [["id", 1]]
|
1690
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1694
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1695
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1696
|
+
[1m[35m (0.9ms)[0m begin transaction
|
1697
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1699
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1701
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1702
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1703
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1704
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1705
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1706
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1707
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1708
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1709
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1710
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1712
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1713
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_freights" ("created_at", "delivery_time", "service", "updated_at", "value", "zipcode") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1715
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1716
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_payments" ("created_at", "flag_id", "order_id", "paid_in", "paid_value", "payment_status", "payment_type", "plot", "updated_at", "value") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mMechanizeStore::OrderItem Load (0.1ms)[0m [1mSELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ?[0m [["order_id", 1]]
|
1720
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36mMechanizeStore::Order Load (0.1ms)[0m [1mSELECT "mechanize_store_orders".* FROM "mechanize_store_orders" LIMIT 30 OFFSET 0[0m
|
1724
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1725
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1726
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1727
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1729
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1730
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1732
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1733
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "mechanize_store_orders" ("created_at", "order_status", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "mechanize_store_freights" SET "order_id" = ?, "updated_at" = ? WHERE "mechanize_store_freights"."id" = 1[0m [["order_id", 1], ["updated_at", Mon, 21 Jul 2014 12:45:40 UTC +00:00]]
|
1736
|
+
[1m[35mMechanizeStore::OrderItem Load (0.0ms)[0m SELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ? [["order_id", 1]]
|
1737
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1738
|
+
Processing by MechanizeStore::OrdersController#show as HTML
|
1739
|
+
Parameters: {"id"=>"1"}
|
1740
|
+
[1m[35mMechanizeStore::Order Load (0.2ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
1743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1744
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1745
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1748
|
+
Processing by MechanizeStore::ProductsController#edit as HTML
|
1749
|
+
Parameters: {"id"=>"1"}
|
1750
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1751
|
+
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
1752
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1753
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1757
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1760
|
+
Redirected to http://test.host/mechanize_store/products/1
|
1761
|
+
Completed 302 Found in 6ms (ActiveRecord: 1.2ms)
|
1762
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1764
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1768
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_products"[0m
|
1774
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1775
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1779
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1782
|
+
Redirected to http://test.host/mechanize_store/products/1
|
1783
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
1784
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" DESC LIMIT 1
|
1785
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1786
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1791
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1798
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1801
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_products"[0m
|
1802
|
+
Processing by MechanizeStore::ProductsController#destroy as HTML
|
1803
|
+
Parameters: {"id"=>"1"}
|
1804
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1805
|
+
[1m[36mMechanizeStore::Product Load (0.0ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1806
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1807
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ?[0m [["id", 1]]
|
1808
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1809
|
+
Redirected to http://test.host/mechanize_store/products
|
1810
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1811
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "mechanize_store_products"[0m
|
1812
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1814
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1815
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1818
|
+
Processing by MechanizeStore::ProductsController#destroy as HTML
|
1819
|
+
Parameters: {"id"=>"1"}
|
1820
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1821
|
+
[1m[36mMechanizeStore::Product Load (0.0ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1822
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1823
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ?[0m [["id", 1]]
|
1824
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1825
|
+
Redirected to http://test.host/mechanize_store/products
|
1826
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
1827
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1828
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1829
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1830
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" LIMIT 30 OFFSET 0[0m
|
1836
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1838
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1839
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1842
|
+
Processing by MechanizeStore::ProductsController#show as HTML
|
1843
|
+
Parameters: {"id"=>"1"}
|
1844
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1847
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1848
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1849
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1855
|
+
[1m[35mMechanizeStore::Product Load (0.0ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1856
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1857
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1861
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1862
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1863
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1866
|
+
Processing by MechanizeStore::ProductsController#update as HTML
|
1867
|
+
Parameters: {"product"=>{"name"=>"MyString"}, "id"=>"1"}
|
1868
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1869
|
+
[1m[35mMechanizeStore::Product Load (0.0ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1873
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1874
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1880
|
+
[1m[35mMechanizeStore::Product Load (0.0ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1882
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1887
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1888
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1891
|
+
Processing by MechanizeStore::ProductsController#update as HTML
|
1892
|
+
Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1893
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1894
|
+
[1m[35mMechanizeStore::Product Load (0.0ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1895
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1896
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1897
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
1898
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1900
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1901
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "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[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1904
|
+
Processing by MechanizeStore::ProductsController#update as HTML
|
1905
|
+
Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
|
1906
|
+
[1m[36mMechanizeStore::Product Load (0.1ms)[0m [1mSELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1907
|
+
[1m[35mMechanizeStore::Product Load (0.1ms)[0m SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
|
1908
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1909
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1910
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
1911
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1912
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1913
|
+
Processing by MechanizeStore::ProductsController#new as HTML
|
1914
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)
|
1915
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
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.
|
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-
|
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
|