mechanize_store 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MjMwMTc4MzYxZDMyNGMzNDJlNjBhYjQ5MzE0NjUwYjZhMDcwYjdjMg==
5
- data.tar.gz: !binary |-
6
- YjM3OTRmOWIyMjhhZmYxOGU5ZjkzNzQ5MzY5YTQ5MmY5MDI4Y2JjOQ==
2
+ SHA1:
3
+ metadata.gz: 20df0f1a49c285c15224c8334cd725479f729967
4
+ data.tar.gz: 893c39fff6beae57c0b9174d2596a52f7c03f643
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- OTIwYzE1MDAxYWU4MDg2MTJkNzBhYzI1NTc5OGUzMTkzNTNmZjMxZDI0NjA1
10
- MDBmYjhhYWM2ZTY4MTJhOTIzZmMyYzI2ZGMxZmFiZWIzYjlkNGNjNmE3MDA5
11
- NzE5YWU0Y2EzMzVkNTQ0YzVmOTFiZmJhODkzNDczOTYwY2JjNzQ=
12
- data.tar.gz: !binary |-
13
- M2UyNWE1MTZiZWVmNjVmZGFlYTQ0NGM2OTVjMTFjODlhMjMyOGFkNTYzYjcy
14
- YTA5ODI3MmMyM2YzNDZiY2IxYzgzNDEwMmNkNDY2OGNmYTU3NDBhNWM1ZTFl
15
- NWM3MGE5ZTljZmRkNDAzNjFiMjBlNjRmZGFkMDEyMGJkMjMzZjg=
6
+ metadata.gz: e2ca3fd0f9cec8a96a73eab1dcdb83d9f626f1da3e01272118591f7e3f0e2e0054815019a5545608b5b5ae37b5df3ea698f5eed5ee7414cc161295352e48d8c0
7
+ data.tar.gz: 64e7295c1daa9260041f29c923d0615a27dd39bc12ccca76198401134bc2b4a4ea63a10ed7cb76a2b7f1c21296d0cfdd79a9575d8b33ba491f6f7cc322457d7d
@@ -5,7 +5,7 @@ module MechanizeStore
5
5
  respond_to :html, :json, :xml
6
6
 
7
7
  def index
8
- @search = ProductCategory.search(params[:q])
8
+ @search = ProductCategory.orphans.search(params[:q])
9
9
 
10
10
  @product_categories = @search.result.paginate(page: params[:page])
11
11
 
@@ -3,5 +3,7 @@ module MechanizeStore
3
3
  belongs_to :product_category, class_name: MechanizeStore::ProductCategory
4
4
 
5
5
  validates :name, presence: true
6
+
7
+ scope :orphans, -> { where("product_category_id is NULL") }
6
8
  end
7
9
  end
@@ -1,3 +1,3 @@
1
1
  module MechanizeStore
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -77732,3 +77732,743 @@ Processing by MechanizeStore::OrdersController#show as HTML
77732
77732
  MechanizeStore::Order Load (0.2ms) SELECT "mechanize_store_orders".* FROM "mechanize_store_orders" WHERE "mechanize_store_orders"."id" = ? LIMIT 1 [["id", "1"]]
77733
77733
  Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
77734
77734
   (0.7ms) rollback transaction
77735
+  (0.5ms) begin transaction
77736
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
77737
+ Processing by MechanizeStore::FlagsController#create as HTML
77738
+ Parameters: {"flag"=>{"name"=>"MyString"}}
77739
+  (0.1ms) SAVEPOINT active_record_1
77740
+ SQL (5.3ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77742
+ Redirected to http://test.host/mechanize_store/flags/1
77743
+ Completed 302 Found in 29ms (ActiveRecord: 5.4ms)
77744
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
77745
+  (0.4ms) rollback transaction
77746
+  (0.1ms) begin transaction
77747
+ Processing by MechanizeStore::FlagsController#create as HTML
77748
+ Parameters: {"flag"=>{"name"=>"MyString"}}
77749
+  (0.1ms) SAVEPOINT active_record_1
77750
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77751
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77752
+ Redirected to http://test.host/mechanize_store/flags/1
77753
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
77754
+ MechanizeStore::Flag Load (0.2ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" ORDER BY "mechanize_store_flags"."id" DESC LIMIT 1
77755
+  (0.5ms) rollback transaction
77756
+  (0.1ms) begin transaction
77757
+ Processing by MechanizeStore::FlagsController#create as HTML
77758
+ Parameters: {"flag"=>{"name"=>"MyString"}}
77759
+  (0.1ms) SAVEPOINT active_record_1
77760
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77761
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77762
+ Redirected to http://test.host/mechanize_store/flags/1
77763
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
77764
+  (1.6ms) rollback transaction
77765
+  (0.1ms) begin transaction
77766
+ Processing by MechanizeStore::FlagsController#create as HTML
77767
+ Parameters: {"flag"=>{"name"=>"invalid value"}}
77768
+ Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
77769
+  (0.1ms) rollback transaction
77770
+  (0.1ms) begin transaction
77771
+ Processing by MechanizeStore::FlagsController#create as HTML
77772
+ Parameters: {"flag"=>{"name"=>"invalid value"}}
77773
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
77774
+  (0.1ms) rollback transaction
77775
+  (0.1ms) begin transaction
77776
+  (0.1ms) SAVEPOINT active_record_1
77777
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77779
+ Processing by MechanizeStore::FlagsController#show as HTML
77780
+ Parameters: {"id"=>"1"}
77781
+ MechanizeStore::Flag Load (0.2ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77782
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
77783
+  (0.5ms) rollback transaction
77784
+  (0.1ms) begin transaction
77785
+  (0.1ms) SAVEPOINT active_record_1
77786
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77788
+ Processing by MechanizeStore::FlagsController#update as HTML
77789
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
77790
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77791
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77792
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
77793
+  (0.7ms) rollback transaction
77794
+  (0.1ms) begin transaction
77795
+  (0.1ms) SAVEPOINT active_record_1
77796
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77797
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77798
+ Processing by MechanizeStore::FlagsController#update as HTML
77799
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
77800
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77801
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77802
+  (0.1ms) SAVEPOINT active_record_1
77803
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77804
+ Redirected to http://test.host/mechanize_store/flags/1
77805
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
77806
+  (0.6ms) rollback transaction
77807
+  (0.1ms) begin transaction
77808
+  (0.1ms) SAVEPOINT active_record_1
77809
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77811
+ Processing by MechanizeStore::FlagsController#update as HTML
77812
+ Parameters: {"flag"=>{"name"=>"MyString"}, "id"=>"1"}
77813
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77814
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77815
+  (0.1ms) SAVEPOINT active_record_1
77816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77817
+ Redirected to http://test.host/mechanize_store/flags/1
77818
+ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
77819
+  (0.3ms) rollback transaction
77820
+  (0.1ms) begin transaction
77821
+  (0.1ms) SAVEPOINT active_record_1
77822
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:36 UTC +00:00]]
77823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77824
+ Processing by MechanizeStore::FlagsController#update as HTML
77825
+ Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
77826
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77827
+ MechanizeStore::Flag Load (0.0ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77828
+  (0.0ms) SAVEPOINT active_record_1
77829
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
77830
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
77831
+  (0.4ms) rollback transaction
77832
+  (0.1ms) begin transaction
77833
+  (0.0ms) SAVEPOINT active_record_1
77834
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
77835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
77836
+ Processing by MechanizeStore::FlagsController#update as HTML
77837
+ Parameters: {"flag"=>{"name"=>"invalid value"}, "id"=>"1"}
77838
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77839
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77840
+  (0.0ms) SAVEPOINT active_record_1
77841
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
77842
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
77843
+  (0.5ms) rollback transaction
77844
+  (0.1ms) begin transaction
77845
+ Processing by MechanizeStore::FlagsController#new as HTML
77846
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
77847
+  (0.1ms) rollback transaction
77848
+  (0.1ms) begin transaction
77849
+  (0.1ms) SAVEPOINT active_record_1
77850
+ SQL (0.6ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
77851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77852
+ Processing by MechanizeStore::FlagsController#index as HTML
77853
+ Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.0ms)
77854
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" LIMIT 30 OFFSET 0
77855
+  (0.7ms) rollback transaction
77856
+  (0.1ms) begin transaction
77857
+  (0.1ms) SAVEPOINT active_record_1
77858
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
77859
+  (0.0ms) RELEASE SAVEPOINT active_record_1
77860
+ Processing by MechanizeStore::FlagsController#edit as HTML
77861
+ Parameters: {"id"=>"1"}
77862
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77863
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.1ms)
77864
+  (0.3ms) rollback transaction
77865
+  (0.1ms) begin transaction
77866
+  (0.1ms) SAVEPOINT active_record_1
77867
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
77868
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77869
+  (0.2ms) SELECT COUNT(*) FROM "mechanize_store_flags"
77870
+ Processing by MechanizeStore::FlagsController#destroy as HTML
77871
+ Parameters: {"id"=>"1"}
77872
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77873
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77874
+  (0.1ms) SAVEPOINT active_record_1
77875
+ SQL (1.1ms) DELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? [["id", 1]]
77876
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77877
+ Redirected to http://test.host/mechanize_store/flags
77878
+ Completed 302 Found in 8ms (ActiveRecord: 1.5ms)
77879
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_flags"
77880
+  (1.5ms) rollback transaction
77881
+  (0.1ms) begin transaction
77882
+  (0.1ms) SAVEPOINT active_record_1
77883
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
77884
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77885
+ Processing by MechanizeStore::FlagsController#destroy as HTML
77886
+ Parameters: {"id"=>"1"}
77887
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77888
+ MechanizeStore::Flag Load (0.1ms) SELECT "mechanize_store_flags".* FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? LIMIT 1 [["id", "1"]]
77889
+  (0.1ms) SAVEPOINT active_record_1
77890
+ SQL (0.3ms) DELETE FROM "mechanize_store_flags" WHERE "mechanize_store_flags"."id" = ? [["id", 1]]
77891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77892
+ Redirected to http://test.host/mechanize_store/flags
77893
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
77894
+  (0.5ms) rollback transaction
77895
+  (0.1ms) begin transaction
77896
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
77897
+ Processing by MechanizeStore::ProductsController#create as HTML
77898
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
77899
+  (0.1ms) SAVEPOINT active_record_1
77900
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77901
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77902
+ Redirected to http://test.host/mechanize_store/products/1
77903
+ Completed 302 Found in 15ms (ActiveRecord: 0.7ms)
77904
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
77905
+  (0.4ms) rollback transaction
77906
+  (0.1ms) begin transaction
77907
+ Processing by MechanizeStore::ProductsController#create as HTML
77908
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
77909
+  (0.1ms) SAVEPOINT active_record_1
77910
+ SQL (0.8ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77911
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77912
+ Redirected to http://test.host/mechanize_store/products/1
77913
+ Completed 302 Found in 5ms (ActiveRecord: 1.0ms)
77914
+ MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" ORDER BY "mechanize_store_products"."id" DESC LIMIT 1
77915
+  (1.8ms) rollback transaction
77916
+  (0.1ms) begin transaction
77917
+ Processing by MechanizeStore::ProductsController#create as HTML
77918
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}}
77919
+  (0.1ms) SAVEPOINT active_record_1
77920
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77922
+ Redirected to http://test.host/mechanize_store/products/1
77923
+ Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
77924
+  (0.6ms) rollback transaction
77925
+  (0.1ms) begin transaction
77926
+ Processing by MechanizeStore::ProductsController#create as HTML
77927
+ Parameters: {"product"=>{"name"=>"invalid value"}}
77928
+ Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms)
77929
+  (0.1ms) rollback transaction
77930
+  (0.1ms) begin transaction
77931
+ Processing by MechanizeStore::ProductsController#create as HTML
77932
+ Parameters: {"product"=>{"name"=>"invalid value"}}
77933
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
77934
+  (0.1ms) rollback transaction
77935
+  (0.1ms) begin transaction
77936
+  (0.1ms) SAVEPOINT active_record_1
77937
+ SQL (0.8ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77938
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77939
+ Processing by MechanizeStore::ProductsController#show as HTML
77940
+ Parameters: {"id"=>"1"}
77941
+ MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77942
+ Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)
77943
+  (0.4ms) rollback transaction
77944
+  (0.1ms) begin transaction
77945
+  (0.1ms) SAVEPOINT active_record_1
77946
+ SQL (0.8ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77948
+ Processing by MechanizeStore::ProductsController#update as HTML
77949
+ Parameters: {"product"=>{"name"=>"MyString"}, "id"=>"1"}
77950
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77951
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77952
+ Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)
77953
+  (0.5ms) rollback transaction
77954
+  (0.1ms) begin transaction
77955
+  (0.1ms) SAVEPOINT active_record_1
77956
+ SQL (1.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77957
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77958
+ Processing by MechanizeStore::ProductsController#update as HTML
77959
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}, "id"=>"1"}
77960
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77961
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77962
+  (0.1ms) SAVEPOINT active_record_1
77963
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77964
+ Redirected to http://test.host/mechanize_store/products/1
77965
+ Completed 302 Found in 13ms (ActiveRecord: 0.3ms)
77966
+  (0.8ms) rollback transaction
77967
+  (0.1ms) begin transaction
77968
+  (0.1ms) SAVEPOINT active_record_1
77969
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77970
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77971
+ Processing by MechanizeStore::ProductsController#update as HTML
77972
+ Parameters: {"product"=>{"name"=>"MyString", "price"=>"10", "width"=>"1", "height"=>"2", "length"=>"2", "weight"=>"1", "description"=>"Product description", "short_description"=>"Short"}, "id"=>"1"}
77973
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77974
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77975
+  (0.1ms) SAVEPOINT active_record_1
77976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77977
+ Redirected to http://test.host/mechanize_store/products/1
77978
+ Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
77979
+  (0.8ms) rollback transaction
77980
+  (0.1ms) begin transaction
77981
+  (0.1ms) SAVEPOINT active_record_1
77982
+ SQL (0.7ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77983
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77984
+ Processing by MechanizeStore::ProductsController#update as HTML
77985
+ Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
77986
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77987
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77988
+  (0.1ms) SAVEPOINT active_record_1
77989
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
77990
+ Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.3ms)
77991
+  (0.5ms) rollback transaction
77992
+  (0.1ms) begin transaction
77993
+  (0.1ms) SAVEPOINT active_record_1
77994
+ SQL (0.8ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
77995
+  (0.1ms) RELEASE SAVEPOINT active_record_1
77996
+ Processing by MechanizeStore::ProductsController#update as HTML
77997
+ Parameters: {"product"=>{"name"=>"invalid value"}, "id"=>"1"}
77998
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
77999
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78000
+  (0.1ms) SAVEPOINT active_record_1
78001
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
78002
+ Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)
78003
+  (0.4ms) rollback transaction
78004
+  (0.1ms) begin transaction
78005
+ Processing by MechanizeStore::ProductsController#new as HTML
78006
+ Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
78007
+  (0.1ms) rollback transaction
78008
+  (0.1ms) begin transaction
78009
+  (0.1ms) SAVEPOINT active_record_1
78010
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
78011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78012
+ Processing by MechanizeStore::ProductsController#index as HTML
78013
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms)
78014
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" LIMIT 30 OFFSET 0
78015
+  (0.6ms) rollback transaction
78016
+  (0.1ms) begin transaction
78017
+  (0.1ms) SAVEPOINT active_record_1
78018
+ SQL (0.5ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
78019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78020
+ Processing by MechanizeStore::ProductsController#edit as HTML
78021
+ Parameters: {"id"=>"1"}
78022
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78023
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms)
78024
+  (0.3ms) rollback transaction
78025
+  (0.1ms) begin transaction
78026
+  (0.1ms) SAVEPOINT active_record_1
78027
+ SQL (0.7ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
78028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78029
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_products"
78030
+ Processing by MechanizeStore::ProductsController#destroy as HTML
78031
+ Parameters: {"id"=>"1"}
78032
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78033
+ MechanizeStore::Product Load (0.0ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78034
+  (0.0ms) SAVEPOINT active_record_1
78035
+ SQL (0.6ms) DELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? [["id", 1]]
78036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78037
+ Redirected to http://test.host/mechanize_store/products
78038
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
78039
+  (0.2ms) SELECT COUNT(*) FROM "mechanize_store_products"
78040
+  (1.2ms) rollback transaction
78041
+  (0.1ms) begin transaction
78042
+  (0.1ms) SAVEPOINT active_record_1
78043
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "Product description"], ["height", 2.0], ["length", 2.0], ["name", "MyString"], ["price", 10.0], ["short_description", "Short"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.0], ["width", 1.0]]
78044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78045
+ Processing by MechanizeStore::ProductsController#destroy as HTML
78046
+ Parameters: {"id"=>"1"}
78047
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78048
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78049
+  (0.1ms) SAVEPOINT active_record_1
78050
+ SQL (0.5ms) DELETE FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? [["id", 1]]
78051
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78052
+ Redirected to http://test.host/mechanize_store/products
78053
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
78054
+  (0.6ms) rollback transaction
78055
+  (0.1ms) begin transaction
78056
+  (0.1ms) rollback transaction
78057
+  (0.1ms) begin transaction
78058
+  (0.1ms) rollback transaction
78059
+  (0.1ms) begin transaction
78060
+  (0.1ms) rollback transaction
78061
+  (0.0ms) begin transaction
78062
+  (0.1ms) rollback transaction
78063
+  (0.0ms) begin transaction
78064
+  (0.1ms) rollback transaction
78065
+  (0.1ms) begin transaction
78066
+  (0.0ms) rollback transaction
78067
+  (0.1ms) begin transaction
78068
+  (0.1ms) rollback transaction
78069
+  (0.1ms) begin transaction
78070
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
78071
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
78072
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
78073
+  (0.1ms) SAVEPOINT active_record_1
78074
+ SQL (0.6ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78075
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78076
+ Redirected to http://test.host/mechanize_store/product_categories/1
78077
+ Completed 302 Found in 9ms (ActiveRecord: 0.7ms)
78078
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
78079
+  (0.3ms) rollback transaction
78080
+  (0.1ms) begin transaction
78081
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
78082
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
78083
+  (0.1ms) SAVEPOINT active_record_1
78084
+ SQL (2.7ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78086
+ Redirected to http://test.host/mechanize_store/product_categories/1
78087
+ Completed 302 Found in 6ms (ActiveRecord: 2.8ms)
78088
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" ORDER BY "mechanize_store_product_categories"."id" DESC LIMIT 1
78089
+  (0.4ms) rollback transaction
78090
+  (0.1ms) begin transaction
78091
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
78092
+ Parameters: {"product_category"=>{"name"=>"MyString"}}
78093
+  (0.1ms) SAVEPOINT active_record_1
78094
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78096
+ Redirected to http://test.host/mechanize_store/product_categories/1
78097
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
78098
+  (0.3ms) rollback transaction
78099
+  (0.1ms) begin transaction
78100
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
78101
+ Parameters: {"product_category"=>{"name"=>"invalid value"}}
78102
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
78103
+  (0.1ms) rollback transaction
78104
+  (0.1ms) begin transaction
78105
+ Processing by MechanizeStore::ProductCategoriesController#create as HTML
78106
+ Parameters: {"product_category"=>{"name"=>"invalid value"}}
78107
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
78108
+  (0.1ms) rollback transaction
78109
+  (0.1ms) begin transaction
78110
+  (0.1ms) SAVEPOINT active_record_1
78111
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78113
+ Processing by MechanizeStore::ProductCategoriesController#show as HTML
78114
+ Parameters: {"id"=>"1"}
78115
+ MechanizeStore::ProductCategory Load (0.2ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78116
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.2ms)
78117
+  (0.5ms) rollback transaction
78118
+  (0.1ms) begin transaction
78119
+  (0.1ms) SAVEPOINT active_record_1
78120
+ SQL (1.0ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78121
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78122
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
78123
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
78124
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78125
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78126
+ Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.1ms)
78127
+  (0.5ms) rollback transaction
78128
+  (0.1ms) begin transaction
78129
+  (0.1ms) SAVEPOINT active_record_1
78130
+ SQL (0.5ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78131
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78132
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
78133
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
78134
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78135
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78136
+  (0.1ms) SAVEPOINT active_record_1
78137
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78138
+ Redirected to http://test.host/mechanize_store/product_categories/1
78139
+ Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
78140
+  (1.0ms) rollback transaction
78141
+  (0.1ms) begin transaction
78142
+  (0.1ms) SAVEPOINT active_record_1
78143
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78145
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
78146
+ Parameters: {"product_category"=>{"name"=>"MyString"}, "id"=>"1"}
78147
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78148
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78149
+  (0.1ms) SAVEPOINT active_record_1
78150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78151
+ Redirected to http://test.host/mechanize_store/product_categories/1
78152
+ Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
78153
+  (0.4ms) rollback transaction
78154
+  (0.2ms) begin transaction
78155
+  (0.1ms) SAVEPOINT active_record_1
78156
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78158
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
78159
+ Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
78160
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78161
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78162
+  (0.1ms) SAVEPOINT active_record_1
78163
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
78164
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
78165
+  (0.4ms) rollback transaction
78166
+  (0.1ms) begin transaction
78167
+  (0.1ms) SAVEPOINT active_record_1
78168
+ SQL (0.5ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78170
+ Processing by MechanizeStore::ProductCategoriesController#update as HTML
78171
+ Parameters: {"product_category"=>{"name"=>"invalid value"}, "id"=>"1"}
78172
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78173
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78174
+  (0.1ms) SAVEPOINT active_record_1
78175
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
78176
+ Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)
78177
+  (0.6ms) rollback transaction
78178
+  (0.1ms) begin transaction
78179
+ Processing by MechanizeStore::ProductCategoriesController#new as HTML
78180
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
78181
+  (0.1ms) rollback transaction
78182
+  (0.1ms) begin transaction
78183
+  (0.0ms) SAVEPOINT active_record_1
78184
+ SQL (0.5ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78186
+ Processing by MechanizeStore::ProductCategoriesController#index as HTML
78187
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
78188
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" LIMIT 30 OFFSET 0
78189
+  (0.5ms) rollback transaction
78190
+  (0.1ms) begin transaction
78191
+  (0.1ms) SAVEPOINT active_record_1
78192
+ SQL (0.6ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78194
+ Processing by MechanizeStore::ProductCategoriesController#edit as HTML
78195
+ Parameters: {"id"=>"1"}
78196
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78197
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.1ms)
78198
+  (0.7ms) rollback transaction
78199
+  (0.1ms) begin transaction
78200
+  (0.1ms) SAVEPOINT active_record_1
78201
+ SQL (2.9ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78202
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78203
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
78204
+ Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
78205
+ Parameters: {"id"=>"1"}
78206
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78207
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78208
+  (0.0ms) SAVEPOINT active_record_1
78209
+ SQL (0.5ms) DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
78210
+  (0.0ms) RELEASE SAVEPOINT active_record_1
78211
+ Redirected to http://test.host/mechanize_store/product_categories
78212
+ Completed 302 Found in 4ms (ActiveRecord: 0.8ms)
78213
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_categories"
78214
+  (0.8ms) rollback transaction
78215
+  (0.2ms) begin transaction
78216
+  (0.1ms) SAVEPOINT active_record_1
78217
+ SQL (0.4ms) INSERT INTO "mechanize_store_product_categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78219
+ Processing by MechanizeStore::ProductCategoriesController#destroy as HTML
78220
+ Parameters: {"id"=>"1"}
78221
+ MechanizeStore::ProductCategory Load (0.1ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78222
+ MechanizeStore::ProductCategory Load (0.0ms) SELECT "mechanize_store_product_categories".* FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? LIMIT 1 [["id", "1"]]
78223
+  (0.0ms) SAVEPOINT active_record_1
78224
+ SQL (0.7ms) DELETE FROM "mechanize_store_product_categories" WHERE "mechanize_store_product_categories"."id" = ? [["id", 1]]
78225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78226
+ Redirected to http://test.host/mechanize_store/product_categories
78227
+ Completed 302 Found in 4ms (ActiveRecord: 0.9ms)
78228
+  (0.5ms) rollback transaction
78229
+  (0.1ms) begin transaction
78230
+  (0.1ms) rollback transaction
78231
+  (0.0ms) begin transaction
78232
+  (0.1ms) rollback transaction
78233
+  (0.1ms) begin transaction
78234
+  (0.1ms) rollback transaction
78235
+  (0.1ms) begin transaction
78236
+  (0.1ms) rollback transaction
78237
+  (0.1ms) begin transaction
78238
+  (0.1ms) rollback transaction
78239
+  (0.1ms) begin transaction
78240
+  (0.1ms) rollback transaction
78241
+  (0.1ms) begin transaction
78242
+  (0.1ms) rollback transaction
78243
+  (0.1ms) begin transaction
78244
+  (0.1ms) rollback transaction
78245
+  (0.1ms) begin transaction
78246
+  (0.1ms) rollback transaction
78247
+  (0.1ms) begin transaction
78248
+  (0.1ms) SAVEPOINT active_record_1
78249
+ SQL (1.0ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78251
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]' 2>/dev/null
78252
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78253
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78254
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78255
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z50020140604-23071-1ctikul'
78256
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z50020140604-23071-1ctikul'
78257
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]' 2>/dev/null
78258
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78259
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78260
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]'
78261
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z500.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z50020140604-23071-ujfquj'
78262
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1f5z50020140604-23071-ujfquj'
78263
+  (0.1ms) SAVEPOINT active_record_1
78264
+ SQL (1.0ms) 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", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78266
+ Processing by MechanizeStore::ProductPhotosController#index as JSON
78267
+ Parameters: {"product_id"=>"1"}
78268
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78269
+ Completed 200 OK in 22ms (Views: 5.0ms | ActiveRecord: 0.1ms)
78270
+ MechanizeStore::ProductPhoto Load (0.2ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ? [["product_id", 1]]
78271
+ MechanizeStore::ProductPhoto Load (0.1ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."product_id" = ? [["product_id", 1]]
78272
+  (0.4ms) rollback transaction
78273
+  (0.1ms) begin transaction
78274
+  (0.1ms) SAVEPOINT active_record_1
78275
+ SQL (0.4ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78277
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]' 2>/dev/null
78278
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78279
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78280
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78281
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr120140604-23071-1cesb21'
78282
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr120140604-23071-1cesb21'
78283
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]' 2>/dev/null
78284
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78285
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78286
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]'
78287
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr1.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr120140604-23071-92swsv'
78288
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-zzbyr120140604-23071-92swsv'
78289
+  (0.2ms) SAVEPOINT active_record_1
78290
+ SQL (0.6ms) 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", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:37 UTC +00:00]]
78291
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78292
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
78293
+ Processing by MechanizeStore::ProductPhotosController#destroy as HTML
78294
+ Parameters: {"id"=>"1"}
78295
+ MechanizeStore::ProductPhoto Load (0.2ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
78296
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
78297
+  (0.1ms) SAVEPOINT active_record_1
78298
+ SQL (0.2ms) DELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? [["id", 1]]
78299
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78300
+ Redirected to http://test.host/mechanize_store/products/1
78301
+ Completed 302 Found in 13ms (ActiveRecord: 0.7ms)
78302
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
78303
+  (0.6ms) rollback transaction
78304
+  (0.1ms) begin transaction
78305
+  (0.1ms) SAVEPOINT active_record_1
78306
+ SQL (0.7ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78308
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]' 2>/dev/null
78309
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78310
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78311
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78312
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg20140604-23071-yx57xt'
78313
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg20140604-23071-yx57xt'
78314
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]' 2>/dev/null
78315
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78316
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78317
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]'
78318
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg20140604-23071-1sl9yr3'
78319
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-1qtwirg20140604-23071-1sl9yr3'
78320
+  (0.2ms) SAVEPOINT active_record_1
78321
+ SQL (0.9ms) 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", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00]]
78322
+  (0.2ms) RELEASE SAVEPOINT active_record_1
78323
+ MechanizeStore::Product Load (0.2ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
78324
+ Processing by MechanizeStore::ProductPhotosController#destroy as HTML
78325
+ Parameters: {"id"=>"1"}
78326
+ MechanizeStore::ProductPhoto Load (0.1ms) SELECT "mechanize_store_product_photos".* FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? LIMIT 1 [["id", "1"]]
78327
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", 1]]
78328
+  (0.1ms) SAVEPOINT active_record_1
78329
+ SQL (0.2ms) DELETE FROM "mechanize_store_product_photos" WHERE "mechanize_store_product_photos"."id" = ? [["id", 1]]
78330
+  (0.2ms) RELEASE SAVEPOINT active_record_1
78331
+ Redirected to http://test.host/mechanize_store/products/1
78332
+ Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
78333
+  (0.9ms) rollback transaction
78334
+  (0.1ms) begin transaction
78335
+  (0.1ms) SAVEPOINT active_record_1
78336
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78338
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
78339
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
78340
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x00000102a1d8f0 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140604-23071-1kwtn2l>>]}, "product_id"=>"1"}
78341
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78342
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]' 2>/dev/null
78343
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78344
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78345
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78346
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv20140604-23071-77nyfy'
78347
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv20140604-23071-77nyfy'
78348
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]' 2>/dev/null
78349
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78350
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78351
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]'
78352
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv20140604-23071-dw1unl'
78353
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-173fskv20140604-23071-dw1unl'
78354
+  (0.2ms) SAVEPOINT active_record_1
78355
+ SQL (1.1ms) 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", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00]]
78356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78357
+ Redirected to http://test.host/mechanize_store/products/1
78358
+ Completed 302 Found in 212ms (ActiveRecord: 1.5ms)
78359
+  (0.1ms) SELECT COUNT(*) FROM "mechanize_store_product_photos"
78360
+  (0.6ms) rollback transaction
78361
+  (0.1ms) begin transaction
78362
+  (0.1ms) SAVEPOINT active_record_1
78363
+ SQL (0.7ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78365
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
78366
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x000001054afed8 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140604-23071-psyilc>>]}, "product_id"=>"1"}
78367
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78368
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]' 2>/dev/null
78369
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78370
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78371
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78372
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i520140604-23071-nvsoee'
78373
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i520140604-23071-nvsoee'
78374
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]' 2>/dev/null
78375
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78376
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78377
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]'
78378
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i5.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i520140604-23071-126als3'
78379
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-7l39i520140604-23071-126als3'
78380
+  (0.2ms) SAVEPOINT active_record_1
78381
+ SQL (0.8ms) 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", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00]]
78382
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78383
+ Redirected to http://test.host/mechanize_store/products/1
78384
+ Completed 302 Found in 210ms (ActiveRecord: 1.2ms)
78385
+  (0.6ms) rollback transaction
78386
+  (0.1ms) begin transaction
78387
+  (0.1ms) SAVEPOINT active_record_1
78388
+ SQL (1.3ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78389
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78390
+ Processing by MechanizeStore::ProductPhotosController#create as HTML
78391
+ Parameters: {"product_photo"=>{"file"=>[#<Rack::Test::UploadedFile:0x000001053bcc88 @content_type=nil, @original_filename="rails.png", @tempfile=#<Tempfile:/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/rails.png20140604-23071-zbxqqb>>]}, "product_id"=>"1"}
78392
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78393
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]' 2>/dev/null
78394
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78395
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78396
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78397
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]' -auto-orient -resize "300x300>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan20140604-23071-124qmv5'
78398
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan20140604-23071-124qmv5'
78399
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]' 2>/dev/null
78400
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78401
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78402
+ Command :: identify -format %m '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]'
78403
+ Command :: convert '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan.png[0]' -auto-orient -resize "100x100>" '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan20140604-23071-jul7wf'
78404
+ Command :: file -b --mime '/var/folders/dr/v8m3_4ds6yn4zwbsbff5yc800000gn/T/4d003d1435f0827cfe18ac2d2a3979e720140604-23071-3uxgan20140604-23071-jul7wf'
78405
+  (0.1ms) SAVEPOINT active_record_1
78406
+ SQL (2.1ms) 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", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["file_content_type", ""], ["file_file_name", "rails.png"], ["file_file_size", 6646], ["file_updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["product_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00]]
78407
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78408
+ Redirected to http://test.host/mechanize_store/products/1
78409
+ Completed 302 Found in 229ms (ActiveRecord: 2.5ms)
78410
+  (0.5ms) rollback transaction
78411
+  (0.4ms) begin transaction
78412
+  (0.1ms) SAVEPOINT active_record_1
78413
+ SQL (0.6ms) INSERT INTO "mechanize_store_products" ("created_at", "description", "height", "length", "name", "price", "short_description", "updated_at", "weight", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["description", "MyText"], ["height", 1.5], ["length", 1.5], ["name", "MyString"], ["price", 1.5], ["short_description", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["weight", 1.5], ["width", 1.5]]
78414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78415
+ Processing by MechanizeStore::ProductPhotosController#create as JSON
78416
+ Parameters: {"product_photo"=>{"file"=>[nil]}, "product_id"=>"1"}
78417
+ MechanizeStore::Product Load (0.1ms) SELECT "mechanize_store_products".* FROM "mechanize_store_products" WHERE "mechanize_store_products"."id" = ? LIMIT 1 [["id", "1"]]
78418
+  (0.1ms) SAVEPOINT active_record_1
78419
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
78420
+ Completed 422 Unprocessable Entity in 7ms (Views: 0.3ms | ActiveRecord: 0.3ms)
78421
+  (0.4ms) rollback transaction
78422
+  (0.1ms) begin transaction
78423
+  (0.1ms) rollback transaction
78424
+  (0.1ms) begin transaction
78425
+  (0.1ms) rollback transaction
78426
+  (0.1ms) begin transaction
78427
+  (0.2ms) SAVEPOINT active_record_1
78428
+ SQL (0.4ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:38 UTC +00:00]]
78429
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78430
+  (0.1ms) SAVEPOINT active_record_1
78431
+ SQL (0.8ms) INSERT INTO "mechanize_store_freights" ("created_at", "delivery_time", "service", "updated_at", "value", "zipcode") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["delivery_time", 1], ["service", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["value", 1.5], ["zipcode", "MyString"]]
78432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78433
+  (0.1ms) SAVEPOINT active_record_1
78434
+ SQL (0.8ms) INSERT INTO "mechanize_store_orders" ("created_at", "order_status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["order_status", 2], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00]]
78435
+ SQL (0.9ms) 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", Wed, 04 Jun 2014 18:48:39 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", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["value", 1.5]]
78436
+ SQL (0.3ms) UPDATE "mechanize_store_freights" SET "order_id" = ?, "updated_at" = ? WHERE "mechanize_store_freights"."id" = 1 [["order_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00]]
78437
+ MechanizeStore::OrderItem Load (0.2ms) SELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ? [["order_id", 1]]
78438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78439
+ Processing by MechanizeStore::OrdersController#index as HTML
78440
+ Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.0ms)
78441
+ MechanizeStore::Order Load (0.1ms) SELECT "mechanize_store_orders".* FROM "mechanize_store_orders" LIMIT 30 OFFSET 0
78442
+  (0.8ms) rollback transaction
78443
+  (0.1ms) begin transaction
78444
+  (0.1ms) SAVEPOINT active_record_1
78445
+ SQL (0.5ms) INSERT INTO "mechanize_store_flags" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["name", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00]]
78446
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78447
+  (0.1ms) SAVEPOINT active_record_1
78448
+ SQL (0.7ms) INSERT INTO "mechanize_store_freights" ("created_at", "delivery_time", "service", "updated_at", "value", "zipcode") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["delivery_time", 1], ["service", "MyString"], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["value", 1.5], ["zipcode", "MyString"]]
78449
+  (0.2ms) RELEASE SAVEPOINT active_record_1
78450
+  (0.0ms) SAVEPOINT active_record_1
78451
+ SQL (0.3ms) INSERT INTO "mechanize_store_orders" ("created_at", "order_status", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["order_status", 2], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00]]
78452
+ SQL (0.3ms) 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", Wed, 04 Jun 2014 18:48:39 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", Wed, 04 Jun 2014 18:48:39 UTC +00:00], ["value", 1.5]]
78453
+ SQL (0.4ms) UPDATE "mechanize_store_freights" SET "order_id" = ?, "updated_at" = ? WHERE "mechanize_store_freights"."id" = 1 [["order_id", 1], ["updated_at", Wed, 04 Jun 2014 18:48:39 UTC +00:00]]
78454
+ MechanizeStore::OrderItem Load (0.1ms) SELECT "mechanize_store_order_items".* FROM "mechanize_store_order_items" WHERE "mechanize_store_order_items"."order_id" = ? [["order_id", 1]]
78455
+  (0.1ms) RELEASE SAVEPOINT active_record_1
78456
+ Processing by MechanizeStore::OrdersController#show as HTML
78457
+ Parameters: {"id"=>"1"}
78458
+ MechanizeStore::Order Load (0.2ms) SELECT "mechanize_store_orders".* FROM "mechanize_store_orders" WHERE "mechanize_store_orders"."id" = ? LIMIT 1 [["id", "1"]]
78459
+ Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
78460
+  (1.0ms) rollback transaction
78461
+  (0.1ms) begin transaction
78462
+  (0.1ms) rollback transaction
78463
+  (0.1ms) begin transaction
78464
+  (0.1ms) rollback transaction
78465
+  (0.1ms) begin transaction
78466
+  (0.1ms) rollback transaction
78467
+  (0.1ms) begin transaction
78468
+  (0.1ms) rollback transaction
78469
+  (0.0ms) begin transaction
78470
+  (0.2ms) rollback transaction
78471
+  (0.2ms) begin transaction
78472
+  (0.1ms) rollback transaction
78473
+  (0.0ms) begin transaction
78474
+  (0.1ms) rollback transaction
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mechanize_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilbert Ribeiro
@@ -14,14 +14,14 @@ dependencies:
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 4.0.3.1
89
+ version: 4.1.0.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 4.0.3.1
96
+ version: 4.1.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: paperclip
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -112,84 +112,84 @@ dependencies:
112
112
  name: jquery-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: '3.1'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '3.1'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: jquery-turbolinks
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '2.0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '2.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: turbolinks
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '2.2'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '2.2'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: sass-rails
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '4.0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '4.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: bootstrap-sass
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ~>
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
173
  version: '3.1'
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ~>
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: '3.1'
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: jbuilder
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ~>
185
+ - - "~>"
186
186
  - !ruby/object:Gem::Version
187
187
  version: '1.2'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ~>
192
+ - - "~>"
193
193
  - !ruby/object:Gem::Version
194
194
  version: '1.2'
195
195
  - !ruby/object:Gem::Dependency
@@ -563,12 +563,12 @@ require_paths:
563
563
  - lib
564
564
  required_ruby_version: !ruby/object:Gem::Requirement
565
565
  requirements:
566
- - - ! '>='
566
+ - - ">="
567
567
  - !ruby/object:Gem::Version
568
568
  version: '0'
569
569
  required_rubygems_version: !ruby/object:Gem::Requirement
570
570
  requirements:
571
- - - ! '>='
571
+ - - ">="
572
572
  - !ruby/object:Gem::Version
573
573
  version: '0'
574
574
  requirements: []