simple_cart 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/simple_cart/address.rb +12 -0
- data/app/models/simple_cart/asda.rb +4 -0
- data/app/models/simple_cart/billing_address.rb +4 -0
- data/app/models/simple_cart/cart.rb +74 -0
- data/app/models/simple_cart/credit_card.rb +24 -0
- data/app/models/simple_cart/delivery.rb +6 -0
- data/app/models/simple_cart/order.rb +60 -0
- data/app/models/simple_cart/order_item.rb +6 -0
- data/app/models/simple_cart/shipping_address.rb +4 -0
- data/app/views/simple_cart/checkout/_address.html.haml +1 -1
- data/app/views/simple_cart/checkout/_summary.html.haml +4 -4
- data/app/views/simple_cart/checkout/billing.html.haml +1 -1
- data/app/views/simple_cart/checkout/delivery.html.haml +2 -2
- data/app/views/simple_cart/checkout/payment.html.haml +2 -2
- data/db/migrate/{20160312121928_create_order_item.rb → 20160312121928_create_simple_cart_order_item.rb} +5 -5
- data/db/migrate/{20160312124050_create_order.rb → 20160312124050_create_simple_cart_order.rb} +3 -3
- data/db/migrate/{20160312142534_address.rb → 20160312142534_create_simple_cart_address.rb} +4 -4
- data/db/migrate/{20160312145452_delivery.rb → 20160312145452_create_simple_cart_delivery.rb} +3 -2
- data/db/migrate/{20160312151237_add_credit_card.rb → 20160312151237_create_simple_cart_credit_card.rb} +3 -3
- data/db/migrate/20160314183842_create_simple_cart_asdas.rb +10 -0
- data/lib/simple_cart/version.rb +1 -1
- data/lib/tasks/simple_cart_tasks.rake +19 -4
- data/test/dummy/app/assets/javascripts/things.js +2 -0
- data/test/dummy/app/assets/stylesheets/things.scss +3 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -2
- data/test/dummy/app/controllers/things_controller.rb +58 -0
- data/test/dummy/app/helpers/things_helper.rb +2 -0
- data/test/dummy/app/models/thing.rb +2 -0
- data/test/dummy/app/views/{items → things}/_form.html.erb +4 -4
- data/test/dummy/app/views/things/edit.html.erb +6 -0
- data/test/dummy/app/views/things/index.html.erb +31 -0
- data/test/dummy/app/views/things/new.html.erb +5 -0
- data/test/dummy/app/views/things/show.html.erb +21 -0
- data/test/dummy/config/routes.rb +1 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/{20160312124601_create_order_items.simple_cart.rb → 20160314184432_create_simple_cart_order_item.simple_cart.rb} +5 -5
- data/test/dummy/db/migrate/{20160312124602_create_order.simple_cart.rb → 20160314184433_create_simple_cart_order.simple_cart.rb} +4 -4
- data/test/dummy/db/migrate/{20160312142752_address.simple_cart.rb → 20160314184434_create_simple_cart_address.simple_cart.rb} +4 -4
- data/test/dummy/db/migrate/{20160312145636_delivery.simple_cart.rb → 20160314184435_create_simple_cart_delivery.simple_cart.rb} +3 -2
- data/test/dummy/db/migrate/{20160312151409_add_credit_card.simple_cart.rb → 20160314184436_create_simple_cart_credit_card.simple_cart.rb} +3 -3
- data/test/dummy/db/migrate/20160314184437_create_simple_cart_asdas.simple_cart.rb +11 -0
- data/test/dummy/db/migrate/{20160307150139_create_items.rb → 20160314184745_create_things.rb} +2 -2
- data/test/dummy/db/schema.rb +21 -29
- data/test/dummy/log/development.log +3814 -0
- data/test/dummy/test/controllers/things_controller_test.rb +49 -0
- data/test/dummy/test/models/{item_test.rb → thing_test.rb} +1 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-sMBlUbMCruloZiGwXAkZ5qkMXnSOfizEHh42yfICOo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2do6_0BJY_m-WISNQO55OL7r8EryK6F5GT875Vmdr_I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6rr48iVYpUE7q2m5J4DGmbU2hoaoT94T1TKw0hx2MgU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/83NGEE7Dkkuzj_aphqH3WxVn5hHfKVawDdEztQSpGF8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8DXxFxOs3XK06Mxa2Ob19isXxUDJ28PqKZkHvaWv75Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AYBEyhZJ0H2jvcUYmWfnUsg-5ecns9BP_8fxyreMlek.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/BgsENjJNIUiGA7nr7BkOYU8zcNW6XeB6BNNv4MWjWaQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cl6gPwmWN2Yt_JZfRenwju2AwmuvMazp847XaP4iwOU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/EsPwaYrEK5VY70wbjmozW82BnI3AeMHHznHT1y4or0s.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/I7zER_NAw46Rh3MUqyIlZQcYUzI_b9jGGDuf8unwfAA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/LuVuixjEF7YqVs6naYiDzEQs17oZrgPjH7xBIna-dFk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/N3ynYTk1iq-DkvgrkhdDk2fFBaCqcroKAfKK0fOuq4M.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QmeozvaJCXEZgrsu54HdlAztW40N4GgOr5Euwv1_b6I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rj42BFwHvQpHPnt1iAOPi89OYrjqGtGG_4wceo2BBJU.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XnsVm-Zv77KyLk_T1Ir1BbtWmQONMpeQ8oFiw0youEs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XpaMhBmfnKXevKG9G3pnDyi2I__eqrtiSScrPOQISJQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z0hYz4kAc0qIHZh2B6PKbQzGp-o9iOHeG4p6UZ5I79g.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Z2uWpFgWmN5mCkSLFelYcIHrd3Hg_jZvl3OToBURIx0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZE1rEtR4O5c-wrMABt6kf3KPw9ANKgCvDLl_HKA67tw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_lZdgp3oIruAKbhu6WtQOSgdulGjDuxwvsZYlqQhvgs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/a-QY9no1r9wESk0XVZMU9-j4ILaT0dYl4wZXDp81u-Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bGACHbYazmadJKSmeRj-qOtfk2VhzZVNcCtZeJjWdnQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gZp3uXMHuYQC4hzCr7bQfetKNdJAtbQmg3so2KpW1Dw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ibD5UKGyxBi5Ku5BUV1vG7rslb0drFn8WSbtt5IIUjI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kQrLKly_-oWaLlXxLU1kJ_f2RGKSegikbCSLB6ngQb0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/lK1OKrUN4Aa4ULF5iC8LIO9b_8pD6VtM7QmFoR_Hyq4.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nwZ7OlaT5CopAytu4Wj7C2dIhJATxQcr9-llmxhvr24.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qEqxPoB4kreE79i9bMtvzfKkwN0k6R3RiGyGNqfu3hg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qWFB2-t9pKzO4Y2L9nrDJ--Il_NK1G6W1VTOZmp7NEU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rX4eaTmGdGCEW9N1MaxQaGYQf6Ai9y7fx-tYKEkWKSg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tC2-EIZv61P8CEFijr9uxHBmHtSivZyE-y3KOR5Th7k.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/upXyvpsevxXjLhjtNkXE1yKW2WpRPLP3icept_dAfDc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/vo2uJ1UBvSksPJ8Tv0I29pH8zcKe_PwMZa2RIXHCyfU.cache +1 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- data/test/{dummy/test/fixtures/items.yml → fixtures/simple_cart/asdas.yml} +4 -6
- data/test/fixtures/simple_cart/sssses.yml +11 -0
- data/test/fixtures/simple_cart/tests.yml +11 -0
- data/test/models/simple_cart/asda_test.rb +9 -0
- data/test/models/simple_cart/ssss_test.rb +9 -0
- data/test/models/simple_cart/test_test.rb +9 -0
- metadata +164 -101
- data/README.rdoc +0 -3
- data/app/models/address.rb +0 -10
- data/app/models/billing_address.rb +0 -2
- data/app/models/cart.rb +0 -71
- data/app/models/credit_card.rb +0 -22
- data/app/models/delivery.rb +0 -4
- data/app/models/order.rb +0 -58
- data/app/models/order_item.rb +0 -4
- data/app/models/shipping_address.rb +0 -2
- data/test/dummy/app/models/bicycle.rb +0 -2
- data/test/dummy/app/models/coupon.rb +0 -2
- data/test/dummy/app/models/item.rb +0 -2
- data/test/dummy/app/views/bicycles/_form.html.erb +0 -29
- data/test/dummy/app/views/bicycles/edit.html.erb +0 -6
- data/test/dummy/app/views/bicycles/index.html.erb +0 -31
- data/test/dummy/app/views/bicycles/new.html.erb +0 -5
- data/test/dummy/app/views/bicycles/show.html.erb +0 -21
- data/test/dummy/app/views/items/edit.html.erb +0 -6
- data/test/dummy/app/views/items/index.html.erb +0 -31
- data/test/dummy/app/views/items/new.html.erb +0 -5
- data/test/dummy/app/views/items/show.html.erb +0 -25
- data/test/dummy/db/migrate/20160310215421_create_bicycles.rb +0 -11
- data/test/dummy/db/migrate/20160310231528_create_coupons.rb +0 -10
- data/test/dummy/db/migrate/20160312142751_create_order_item.simple_cart.rb +0 -17
- data/test/dummy/db/migrate/20160312151033_fix.simple_cart.rb +0 -6
- data/test/dummy/test/models/bicycle_test.rb +0 -7
- /data/test/dummy/app/views/layouts/{application2.html.erb → application.html.erb} +0 -0
- /data/test/dummy/test/fixtures/{bicycles.yml → things.yml} +0 -0
@@ -49045,3 +49045,3817 @@ Processing by SimpleCart::CartsController#show as HTML
|
|
49045
49045
|
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49046
49046
|
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (25.2ms)
|
49047
49047
|
Completed 200 OK in 227ms (Views: 226.1ms | ActiveRecord: 0.5ms)
|
49048
|
+
|
49049
|
+
|
49050
|
+
Started GET "/" for 127.0.0.1 at 2016-03-14 20:09:52 +0200
|
49051
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49052
|
+
Processing by Rails::WelcomeController#index as HTML
|
49053
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/templates/rails/welcome/index.html.erb (1.0ms)
|
49054
|
+
Completed 200 OK in 14ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
49055
|
+
|
49056
|
+
|
49057
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:09:55 +0200
|
49058
|
+
Processing by ItemsController#index as HTML
|
49059
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items"
|
49060
|
+
Rendered items/index.html.erb (7.2ms)
|
49061
|
+
Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.5ms)
|
49062
|
+
|
49063
|
+
|
49064
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:09:55 +0200
|
49065
|
+
Processing by ItemsController#index as HTML
|
49066
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items"[0m
|
49067
|
+
Rendered items/index.html.erb (2.3ms)
|
49068
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
|
49069
|
+
|
49070
|
+
|
49071
|
+
Started GET "/items/new" for 127.0.0.1 at 2016-03-14 20:09:57 +0200
|
49072
|
+
Processing by ItemsController#new as HTML
|
49073
|
+
Rendered items/_form.html.erb (8.5ms)
|
49074
|
+
Rendered items/new.html.erb (11.5ms)
|
49075
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
|
49076
|
+
|
49077
|
+
|
49078
|
+
Started POST "/items" for 127.0.0.1 at 2016-03-14 20:09:59 +0200
|
49079
|
+
Processing by ItemsController#create as HTML
|
49080
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"5Qv2qwwaVdsdlFg1zbc2ElJHlEPKmA/ImF+5yJ9xdljRoUGKQwpBhwLfQNsKgLihPxp3ftoenVzRPFqkVRdXSw==", "item"=>{"name"=>"fvdsg", "price"=>"dsg", "qty"=>"1"}, "commit"=>"Create Item"}
|
49081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49082
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "items" ("name", "price", "qty", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "fvdsg"], ["price", 0.0], ["qty", 1], ["created_at", "2016-03-14 18:09:59.699452"], ["updated_at", "2016-03-14 18:09:59.699452"]]
|
49083
|
+
[1m[35m (234.2ms)[0m commit transaction
|
49084
|
+
Redirected to http://localhost:3000/items/4
|
49085
|
+
Completed 302 Found in 241ms (ActiveRecord: 234.6ms)
|
49086
|
+
|
49087
|
+
|
49088
|
+
Started GET "/items/4" for 127.0.0.1 at 2016-03-14 20:09:59 +0200
|
49089
|
+
Processing by ItemsController#show as HTML
|
49090
|
+
Parameters: {"id"=>"4"}
|
49091
|
+
[1m[36mItem Load (0.3ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49092
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/_buy.html.haml (11.2ms)
|
49093
|
+
Rendered items/show.html.erb (12.7ms)
|
49094
|
+
Completed 200 OK in 21ms (Views: 14.4ms | ActiveRecord: 0.3ms)
|
49095
|
+
|
49096
|
+
|
49097
|
+
Started POST "/simple_cart/cart/4" for 127.0.0.1 at 2016-03-14 20:10:03 +0200
|
49098
|
+
Processing by SimpleCart::CartsController#add as HTML
|
49099
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"0arxNvtQ4G39t1xmN8+N3gxFuM4bE5NRDi8aDC9oHD7lAEYXtED0MeL8RIjw+ANtYRhb8wuVAcVHTPlg5Q49LQ==", "qty"=>"3", "klass"=>"Item", "commit"=>"Add to cart", "item_id"=>"4"}
|
49100
|
+
Redirected to http://localhost:3000/simple_cart/cart
|
49101
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
49102
|
+
|
49103
|
+
|
49104
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 20:10:03 +0200
|
49105
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49106
|
+
[1m[35mBicycle Load (0.2ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49107
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49108
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49109
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49110
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49111
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49112
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49113
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49114
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49115
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (45.5ms)
|
49116
|
+
Completed 200 OK in 247ms (Views: 245.4ms | ActiveRecord: 0.6ms)
|
49117
|
+
|
49118
|
+
|
49119
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:10:06 +0200
|
49120
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49121
|
+
Parameters: {"authenticity_token"=>"Y4+DwxntlM0bHv8+G/ixx9r/D3mxa0VjNz11yB1m6aRXJTTiVv2AkQRV59Dczz90t6LsRKHt1/d+Xpak1wDItw=="}
|
49122
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49123
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49124
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49125
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49126
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49127
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49129
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["total_price", 69.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 18:10:06.601878"], ["updated_at", "2016-03-14 18:10:06.601878"]]
|
49130
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 22.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Bicycle"], ["order_id", "19"], ["created_at", "2016-03-14 18:10:06.604182"], ["updated_at", "2016-03-14 18:10:06.604182"]]
|
49131
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 25.0], ["qty", 1], ["itemable_id", 3], ["itemable_type", "Item"], ["order_id", "19"], ["created_at", "2016-03-14 18:10:06.606634"], ["updated_at", "2016-03-14 18:10:06.606634"]]
|
49132
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 0.0], ["qty", 3], ["itemable_id", 4], ["itemable_type", "Item"], ["order_id", "19"], ["created_at", "2016-03-14 18:10:06.608150"], ["updated_at", "2016-03-14 18:10:06.608150"]]
|
49133
|
+
[1m[35m (50.8ms)[0m commit transaction
|
49134
|
+
Redirected to http://localhost:3000/simple_cart/orders/19/checkout
|
49135
|
+
Completed 302 Found in 131ms (ActiveRecord: 52.3ms)
|
49136
|
+
|
49137
|
+
|
49138
|
+
Started GET "/simple_cart/orders/19/checkout" for 127.0.0.1 at 2016-03-14 20:10:06 +0200
|
49139
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
49140
|
+
Parameters: {"order_id"=>"19"}
|
49141
|
+
[1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 19]]
|
49142
|
+
Redirected to http://localhost:3000/simple_cart/orders/19/checkout/billing
|
49143
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
49144
|
+
|
49145
|
+
|
49146
|
+
Started GET "/simple_cart/orders/19/checkout/billing" for 127.0.0.1 at 2016-03-14 20:10:06 +0200
|
49147
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49148
|
+
Parameters: {"order_id"=>"19", "id"=>"billing"}
|
49149
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 19]]
|
49150
|
+
[1m[36mBillingAddress Load (0.2ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 19]]
|
49151
|
+
[1m[35mShippingAddress Load (0.8ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 19]]
|
49152
|
+
[1m[36mCreditCard Load (0.2ms)[0m [1mSELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 19]]
|
49153
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.9ms)
|
49154
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (14.6ms)
|
49155
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (34.1ms)
|
49156
|
+
Completed 200 OK in 129ms (Views: 52.5ms | ActiveRecord: 1.7ms)
|
49157
|
+
|
49158
|
+
|
49159
|
+
Started PATCH "/simple_cart/orders/19/checkout/billing" for 127.0.0.1 at 2016-03-14 20:12:48 +0200
|
49160
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49161
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"vMPo3Gvbn8NquzLRd+O8ofKamvmVDq+JGPDGVsZL8PuIaV/9JMuLn3XwKj+w1DISn8d5xIWIPR1RkyU6DC3R6A==", "order"=>{"billing_address_attributes"=>{"firstname"=>"", "lastname"=>"", "address"=>"", "zipcode"=>"", "city"=>"", "phone"=>"", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"19", "id"=>"billing"}
|
49162
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 19]]
|
49163
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
49164
|
+
[1m[35mBillingAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 19]]
|
49165
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49166
|
+
[1m[35m (0.0ms)[0m begin transaction
|
49167
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
49168
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.4ms)
|
49169
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (6.9ms)
|
49170
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (15.2ms)
|
49171
|
+
Completed 200 OK in 48ms (Views: 31.0ms | ActiveRecord: 0.7ms)
|
49172
|
+
|
49173
|
+
|
49174
|
+
Started PATCH "/simple_cart/orders/19/checkout/billing" for 127.0.0.1 at 2016-03-14 20:12:54 +0200
|
49175
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49176
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"QpRn8M7+pR5zZKpEptSSrzyiBkWH3eXlH84NcjPCbTt2PtDRge6xQmwvsqph4xwcUf/leJdbd3FWre4e+aRMKA==", "order"=>{"billing_address_attributes"=>{"firstname"=>"cvxz", "lastname"=>"xzvxzv", "address"=>"xzvxzv", "zipcode"=>"xzvxzv", "city"=>"xzvxz", "phone"=>"xzvxzv", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"19", "id"=>"billing"}
|
49177
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 19]]
|
49178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49179
|
+
[1m[35mBillingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 19]]
|
49180
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses" ("type", "firstname", "lastname", "address", "zipcode", "city", "phone", "country", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "BillingAddress"], ["firstname", "cvxz"], ["lastname", "xzvxzv"], ["address", "xzvxzv"], ["zipcode", "xzvxzv"], ["city", "xzvxz"], ["phone", "xzvxzv"], ["country", "Afghanistan"], ["order_id", 19], ["created_at", "2016-03-14 18:12:54.461203"], ["updated_at", "2016-03-14 18:12:54.461203"]]
|
49181
|
+
[1m[35m (76.0ms)[0m commit transaction
|
49182
|
+
[1m[36mShippingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 19]]
|
49183
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49184
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "addresses" ("type", "order_id", "address", "zipcode", "city", "phone", "country", "created_at", "updated_at", "firstname", "lastname") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "ShippingAddress"], ["order_id", 19], ["address", "xzvxzv"], ["zipcode", "xzvxzv"], ["city", "xzvxz"], ["phone", "xzvxzv"], ["country", "Afghanistan"], ["created_at", "2016-03-14 18:12:54.461203"], ["updated_at", "2016-03-14 18:12:54.461203"], ["firstname", "cvxz"], ["lastname", "xzvxzv"]]
|
49185
|
+
[1m[35m (231.9ms)[0m commit transaction
|
49186
|
+
Redirected to http://localhost:3000/simple_cart/orders/19/checkout/delivery
|
49187
|
+
Completed 302 Found in 320ms (ActiveRecord: 309.1ms)
|
49188
|
+
|
49189
|
+
|
49190
|
+
Started GET "/simple_cart/orders/19/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:12:54 +0200
|
49191
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49192
|
+
Parameters: {"order_id"=>"19", "id"=>"delivery"}
|
49193
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 19]]
|
49194
|
+
[1m[35mShippingAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 19]]
|
49195
|
+
[1m[36mBillingAddress Load (0.2ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 19]]
|
49196
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 19]]
|
49197
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.9ms)
|
49198
|
+
[1m[36mDelivery Load (0.2ms)[0m [1mSELECT "deliveries".* FROM "deliveries"[0m
|
49199
|
+
[1m[35mDelivery Load (0.2ms)[0m SELECT "deliveries".* FROM "deliveries" ORDER BY "deliveries"."id" ASC LIMIT 1
|
49200
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "19"]]
|
49201
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "19"]]
|
49202
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (4.9ms)
|
49203
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (24.5ms)
|
49204
|
+
Completed 200 OK in 49ms (Views: 42.2ms | ActiveRecord: 1.3ms)
|
49205
|
+
|
49206
|
+
|
49207
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:17:24 +0200
|
49208
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49209
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49210
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49211
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49212
|
+
[1m[35mCACHE (0.1ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49213
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49214
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49215
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49216
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49217
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49218
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (20.7ms)
|
49219
|
+
Completed 200 OK in 38ms (Views: 36.8ms | ActiveRecord: 0.5ms)
|
49220
|
+
|
49221
|
+
|
49222
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:17:24 +0200
|
49223
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49224
|
+
[1m[35mBicycle Load (0.1ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49225
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49226
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49227
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49228
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49229
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49230
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49231
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49232
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49233
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (19.7ms)
|
49234
|
+
Completed 200 OK in 38ms (Views: 37.0ms | ActiveRecord: 0.3ms)
|
49235
|
+
|
49236
|
+
|
49237
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:17:26 +0200
|
49238
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49239
|
+
Parameters: {"authenticity_token"=>"M4qbbkJsO5s6rsTdsffBhSjpfghZoFOagTkEGbWeAFEHICxPDXwvxyXl3DN2wE82RbSdNUkmwQ7IWud1f/ghQg=="}
|
49240
|
+
[1m[36mBicycle Load (0.2ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49241
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49242
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49243
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49244
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49245
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49246
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
49247
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["total_price", 69.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 18:17:26.239759"], ["updated_at", "2016-03-14 18:17:26.239759"]]
|
49248
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 22.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Bicycle"], ["order_id", "20"], ["created_at", "2016-03-14 18:17:26.243036"], ["updated_at", "2016-03-14 18:17:26.243036"]]
|
49249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 25.0], ["qty", 1], ["itemable_id", 3], ["itemable_type", "Item"], ["order_id", "20"], ["created_at", "2016-03-14 18:17:26.246177"], ["updated_at", "2016-03-14 18:17:26.246177"]]
|
49250
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 0.0], ["qty", 3], ["itemable_id", 4], ["itemable_type", "Item"], ["order_id", "20"], ["created_at", "2016-03-14 18:17:26.249045"], ["updated_at", "2016-03-14 18:17:26.249045"]]
|
49251
|
+
[1m[35m (214.2ms)[0m commit transaction
|
49252
|
+
Redirected to http://localhost:3000/simple_cart/orders/20/checkout
|
49253
|
+
Completed 302 Found in 239ms (ActiveRecord: 216.7ms)
|
49254
|
+
|
49255
|
+
|
49256
|
+
Started GET "/simple_cart/orders/20/checkout" for 127.0.0.1 at 2016-03-14 20:17:26 +0200
|
49257
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
49258
|
+
Parameters: {"order_id"=>"20"}
|
49259
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 20]]
|
49260
|
+
Redirected to http://localhost:3000/simple_cart/orders/20/checkout/billing
|
49261
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
49262
|
+
|
49263
|
+
|
49264
|
+
Started GET "/simple_cart/orders/20/checkout/billing" for 127.0.0.1 at 2016-03-14 20:17:26 +0200
|
49265
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49266
|
+
Parameters: {"order_id"=>"20", "id"=>"billing"}
|
49267
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 20]]
|
49268
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 20]]
|
49269
|
+
[1m[35mShippingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 20]]
|
49270
|
+
[1m[36mCreditCard Load (0.1ms)[0m [1mSELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 20]]
|
49271
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.0ms)
|
49272
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (8.0ms)
|
49273
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (12.8ms)
|
49274
|
+
Completed 200 OK in 45ms (Views: 38.5ms | ActiveRecord: 0.4ms)
|
49275
|
+
|
49276
|
+
|
49277
|
+
Started GET "/" for 127.0.0.1 at 2016-03-14 20:17:29 +0200
|
49278
|
+
Processing by Rails::WelcomeController#index as HTML
|
49279
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/templates/rails/welcome/index.html.erb (0.6ms)
|
49280
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
49281
|
+
|
49282
|
+
|
49283
|
+
Started GET "/" for 127.0.0.1 at 2016-03-14 20:17:35 +0200
|
49284
|
+
Processing by Rails::WelcomeController#index as HTML
|
49285
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/templates/rails/welcome/index.html.erb (0.1ms)
|
49286
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
49287
|
+
|
49288
|
+
|
49289
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:17:39 +0200
|
49290
|
+
Processing by ItemsController#index as HTML
|
49291
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items"
|
49292
|
+
Rendered items/index.html.erb (1.9ms)
|
49293
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
|
49294
|
+
|
49295
|
+
|
49296
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:17:39 +0200
|
49297
|
+
Processing by ItemsController#index as HTML
|
49298
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items"[0m
|
49299
|
+
Rendered items/index.html.erb (2.5ms)
|
49300
|
+
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.1ms)
|
49301
|
+
|
49302
|
+
|
49303
|
+
Started GET "/items/2" for 127.0.0.1 at 2016-03-14 20:17:41 +0200
|
49304
|
+
Processing by ItemsController#show as HTML
|
49305
|
+
Parameters: {"id"=>"2"}
|
49306
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49307
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/_buy.html.haml (6.4ms)
|
49308
|
+
Rendered items/show.html.erb (8.0ms)
|
49309
|
+
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.1ms)
|
49310
|
+
|
49311
|
+
|
49312
|
+
Started POST "/simple_cart/cart/2" for 127.0.0.1 at 2016-03-14 20:17:42 +0200
|
49313
|
+
Processing by SimpleCart::CartsController#add as HTML
|
49314
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"KN2gxh+Yz0iIiTZAv3Eawh9YAbg3e2OmhnuThiwXWMccdxfnUIjbFJfCLq54RpRxcgXihSf98TLPGHDq5nF51A==", "qty"=>"1", "klass"=>"Item", "commit"=>"Add to cart", "item_id"=>"2"}
|
49315
|
+
Redirected to http://localhost:3000/simple_cart/cart
|
49316
|
+
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
49317
|
+
|
49318
|
+
|
49319
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 20:17:42 +0200
|
49320
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49321
|
+
[1m[36mBicycle Load (0.2ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49322
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49323
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49324
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49325
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49326
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49327
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49328
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49329
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49330
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49331
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49332
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49333
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (25.2ms)
|
49334
|
+
Completed 200 OK in 44ms (Views: 42.3ms | ActiveRecord: 0.6ms)
|
49335
|
+
|
49336
|
+
|
49337
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:17:46 +0200
|
49338
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49339
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49340
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49341
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49342
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49343
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49344
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49345
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49346
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49347
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49348
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49349
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49350
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49351
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (26.9ms)
|
49352
|
+
Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.5ms)
|
49353
|
+
|
49354
|
+
|
49355
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:17:46 +0200
|
49356
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49357
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49358
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49359
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49360
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49361
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49362
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49363
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49364
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49365
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49366
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49367
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49368
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49369
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (18.9ms)
|
49370
|
+
Completed 200 OK in 36ms (Views: 34.8ms | ActiveRecord: 0.4ms)
|
49371
|
+
|
49372
|
+
|
49373
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:17:51 +0200
|
49374
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49375
|
+
Parameters: {"authenticity_token"=>"cdFXcCdBZxhoM6FNS5n7cNTg+xjbqaXJvnebt2vViABFe+BRaFFzRHd4uaOMrnXDub0YJcsvN133FHjbobOpEw=="}
|
49376
|
+
[1m[36mBicycle Load (0.2ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49377
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49378
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49379
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49380
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49381
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49382
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49383
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49385
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["total_price", 25481.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 18:17:51.904296"], ["updated_at", "2016-03-14 18:17:51.904296"]]
|
49386
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 22.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Bicycle"], ["order_id", "21"], ["created_at", "2016-03-14 18:17:51.906390"], ["updated_at", "2016-03-14 18:17:51.906390"]]
|
49387
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 25.0], ["qty", 1], ["itemable_id", 3], ["itemable_type", "Item"], ["order_id", "21"], ["created_at", "2016-03-14 18:17:51.908536"], ["updated_at", "2016-03-14 18:17:51.908536"]]
|
49388
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 0.0], ["qty", 3], ["itemable_id", 4], ["itemable_type", "Item"], ["order_id", "21"], ["created_at", "2016-03-14 18:17:51.909891"], ["updated_at", "2016-03-14 18:17:51.909891"]]
|
49389
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 25412.0], ["qty", 1], ["itemable_id", 2], ["itemable_type", "Item"], ["order_id", "21"], ["created_at", "2016-03-14 18:17:51.910893"], ["updated_at", "2016-03-14 18:17:51.910893"]]
|
49390
|
+
[1m[36m (60.7ms)[0m [1mcommit transaction[0m
|
49391
|
+
Redirected to http://localhost:3000/simple_cart/orders/21/checkout
|
49392
|
+
Completed 302 Found in 77ms (ActiveRecord: 62.0ms)
|
49393
|
+
|
49394
|
+
|
49395
|
+
Started GET "/simple_cart/orders/21/checkout" for 127.0.0.1 at 2016-03-14 20:17:51 +0200
|
49396
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
49397
|
+
Parameters: {"order_id"=>"21"}
|
49398
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49399
|
+
Redirected to http://localhost:3000/simple_cart/orders/21/checkout/billing
|
49400
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
49401
|
+
|
49402
|
+
|
49403
|
+
Started GET "/simple_cart/orders/21/checkout/billing" for 127.0.0.1 at 2016-03-14 20:17:51 +0200
|
49404
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49405
|
+
Parameters: {"order_id"=>"21", "id"=>"billing"}
|
49406
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 21]]
|
49407
|
+
[1m[35mBillingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49408
|
+
[1m[36mShippingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49409
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49410
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
49411
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (10.4ms)
|
49412
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (15.6ms)
|
49413
|
+
Completed 200 OK in 40ms (Views: 33.6ms | ActiveRecord: 0.4ms)
|
49414
|
+
|
49415
|
+
|
49416
|
+
Started PATCH "/simple_cart/orders/21/checkout/billing" for 127.0.0.1 at 2016-03-14 20:21:36 +0200
|
49417
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49418
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DFExv7ZJV5gvh23axgTtlore2oMLm+PkLDsSF4zuQ5c4+4ae+VlDxDDMdTQBM2Ml54M5vhsdcXBlWPF7RohihA==", "order"=>{"billing_address_attributes"=>{"firstname"=>"", "lastname"=>"", "address"=>"", "zipcode"=>"", "city"=>"", "phone"=>"", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"21", "id"=>"billing"}
|
49419
|
+
[1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 21]]
|
49420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49421
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49423
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49424
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
49425
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (0.9ms)
|
49426
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (13.0ms)
|
49427
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (21.2ms)
|
49428
|
+
Completed 200 OK in 50ms (Views: 36.3ms | ActiveRecord: 0.6ms)
|
49429
|
+
|
49430
|
+
|
49431
|
+
Started PATCH "/simple_cart/orders/21/checkout/billing" for 127.0.0.1 at 2016-03-14 20:21:41 +0200
|
49432
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49433
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"uqffxpUrO9Z1M3ND8kmmKepLQZ5EAu7Pp92eS1/iaimODWjn2jsvimp4a601fiiahxaio1SEfFvuvn0nlYRLOg==", "order"=>{"billing_address_attributes"=>{"firstname"=>"fdsg", "lastname"=>"sdg", "address"=>"xcbxcb", "zipcode"=>"bxcb", "city"=>"xcbxcb", "phone"=>"cxbcx", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"21", "id"=>"billing"}
|
49434
|
+
[1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 21]]
|
49435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49436
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49437
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "addresses" ("type", "firstname", "lastname", "address", "zipcode", "city", "phone", "country", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "BillingAddress"], ["firstname", "fdsg"], ["lastname", "sdg"], ["address", "xcbxcb"], ["zipcode", "bxcb"], ["city", "xcbxcb"], ["phone", "cxbcx"], ["country", "Afghanistan"], ["order_id", 21], ["created_at", "2016-03-14 18:21:41.896149"], ["updated_at", "2016-03-14 18:21:41.896149"]]
|
49438
|
+
[1m[36m (244.7ms)[0m [1mcommit transaction[0m
|
49439
|
+
[1m[35mShippingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49441
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "addresses" ("type", "order_id", "address", "zipcode", "city", "phone", "country", "created_at", "updated_at", "firstname", "lastname") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "ShippingAddress"], ["order_id", 21], ["address", "xcbxcb"], ["zipcode", "bxcb"], ["city", "xcbxcb"], ["phone", "cxbcx"], ["country", "Afghanistan"], ["created_at", "2016-03-14 18:21:41.896149"], ["updated_at", "2016-03-14 18:21:41.896149"], ["firstname", "fdsg"], ["lastname", "sdg"]]
|
49442
|
+
[1m[36m (47.9ms)[0m [1mcommit transaction[0m
|
49443
|
+
Redirected to http://localhost:3000/simple_cart/orders/21/checkout/delivery
|
49444
|
+
Completed 302 Found in 306ms (ActiveRecord: 293.9ms)
|
49445
|
+
|
49446
|
+
|
49447
|
+
Started GET "/simple_cart/orders/21/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:21:42 +0200
|
49448
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49449
|
+
Parameters: {"order_id"=>"21", "id"=>"delivery"}
|
49450
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49451
|
+
[1m[36mShippingAddress Load (0.2ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49452
|
+
[1m[35mBillingAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49453
|
+
[1m[36mCreditCard Load (0.1ms)[0m [1mSELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49454
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
49455
|
+
[1m[35mDelivery Load (0.2ms)[0m SELECT "deliveries".* FROM "deliveries"
|
49456
|
+
[1m[36mDelivery Load (0.2ms)[0m [1mSELECT "deliveries".* FROM "deliveries" ORDER BY "deliveries"."id" ASC LIMIT 1[0m
|
49457
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", "21"]]
|
49458
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", "21"]]
|
49459
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.2ms)
|
49460
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (9.0ms)
|
49461
|
+
Completed 200 OK in 35ms (Views: 28.9ms | ActiveRecord: 1.0ms)
|
49462
|
+
|
49463
|
+
|
49464
|
+
Started PATCH "/simple_cart/orders/21/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:21:44 +0200
|
49465
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49466
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"i+tEWszwNlCG6NBms28DKXMa/jYP2HnVAsRyoLbHeMm/QfN7g+AiDJmjyIh0WI2aHkcdCx9e60FLp5HMfKFZ2g==", "order"=>{"delivery_id"=>"1"}, "commit"=>"Continue", "order_id"=>"21", "id"=>"delivery"}
|
49467
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49468
|
+
[1m[36mDelivery Load (0.2ms)[0m [1mSELECT "deliveries".* FROM "deliveries" WHERE "deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
49469
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49470
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "orders" SET "delivery_id" = ?, "updated_at" = ? WHERE "orders"."id" = ?[0m [["delivery_id", 1], ["updated_at", "2016-03-14 18:21:44.236222"], ["id", 21]]
|
49471
|
+
[1m[35m (229.5ms)[0m commit transaction
|
49472
|
+
Redirected to http://localhost:3000/simple_cart/orders/21/checkout/payment
|
49473
|
+
Completed 302 Found in 237ms (ActiveRecord: 230.1ms)
|
49474
|
+
|
49475
|
+
|
49476
|
+
Started GET "/simple_cart/orders/21/checkout/payment" for 127.0.0.1 at 2016-03-14 20:21:44 +0200
|
49477
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49478
|
+
Parameters: {"order_id"=>"21", "id"=>"payment"}
|
49479
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 21]]
|
49480
|
+
[1m[35mDelivery Load (0.1ms)[0m SELECT "deliveries".* FROM "deliveries" WHERE "deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
49481
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49482
|
+
[1m[35mShippingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49483
|
+
[1m[36mCreditCard Load (0.1ms)[0m [1mSELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49484
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
49485
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (14.9ms)
|
49486
|
+
Completed 200 OK in 37ms (Views: 30.4ms | ActiveRecord: 0.6ms)
|
49487
|
+
|
49488
|
+
|
49489
|
+
Started PATCH "/simple_cart/orders/21/checkout/payment" for 127.0.0.1 at 2016-03-14 20:21:54 +0200
|
49490
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
49491
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"DF2X14JQ8dav8eE7nboZMKVamvzgqz7LSIwy+G4PehQ49yD2zUDlirC6+dVajZeDyAd5wfAtrF8B79GUpGlbBw==", "order"=>{"credit_card_attributes"=>{"number"=>"4444222255552222", "expiration_month"=>"01", "expiration_year"=>"2017", "cvv"=>"123", "firstname"=>"fds", "lastname"=>"gsd"}}, "commit"=>"Continue", "order_id"=>"21", "id"=>"payment"}
|
49492
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49494
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49495
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "credit_cards" ("number", "expiration_month", "expiration_year", "cvv", "firstname", "lastname", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "4444222255552222"], ["expiration_month", "01"], ["expiration_year", "2017"], ["cvv", "123"], ["firstname", "fds"], ["lastname", "gsd"], ["order_id", 21], ["created_at", "2016-03-14 18:21:54.449370"], ["updated_at", "2016-03-14 18:21:54.449370"]]
|
49496
|
+
[1m[35m (74.5ms)[0m commit transaction
|
49497
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49498
|
+
[1m[35m (0.1ms)[0m commit transaction
|
49499
|
+
Redirected to http://localhost:3000/simple_cart/orders/21/checkout/confirm
|
49500
|
+
Completed 302 Found in 85ms (ActiveRecord: 75.4ms)
|
49501
|
+
|
49502
|
+
|
49503
|
+
Started GET "/simple_cart/orders/21/checkout/confirm" for 127.0.0.1 at 2016-03-14 20:21:54 +0200
|
49504
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49505
|
+
Parameters: {"order_id"=>"21", "id"=>"confirm"}
|
49506
|
+
[1m[36mOrder Load (0.2ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 21]]
|
49507
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49508
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49509
|
+
[1m[35mShippingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49510
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.0ms)
|
49511
|
+
[1m[36mDelivery Load (0.1ms)[0m [1mSELECT "deliveries".* FROM "deliveries" WHERE "deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
49512
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_overview.html.haml (7.1ms)
|
49513
|
+
[1m[35mOrderItem Exists (0.2ms)[0m SELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1 [["order_id", "21"]]
|
49514
|
+
[1m[36mOrderItem Load (0.1ms)[0m [1mSELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ?[0m [["order_id", "21"]]
|
49515
|
+
[1m[35mBicycle Load (0.1ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49516
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49517
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49518
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 2]]
|
49519
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/confirm.html.haml within layouts/simple_cart/application (29.8ms)
|
49520
|
+
Completed 200 OK in 52ms (Views: 46.2ms | ActiveRecord: 1.2ms)
|
49521
|
+
|
49522
|
+
|
49523
|
+
Started PATCH "/simple_cart/orders/21" for 127.0.0.1 at 2016-03-14 20:22:08 +0200
|
49524
|
+
Processing by SimpleCart::OrdersController#update as HTML
|
49525
|
+
Parameters: {"authenticity_token"=>"eZj0YhDHnyHOTLL000Bgo6W8J9CILNaa17gveXTRUYFNMkNDX9eLfdEHqhoUd+4QyOHE7ZiqRA6e28wVvrdwkg==", "id"=>"21"}
|
49526
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49528
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "orders" SET "aasm_state" = ?, "updated_at" = ? WHERE "orders"."id" = ? [["aasm_state", "in_queue"], ["updated_at", "2016-03-14 18:22:08.921195"], ["id", 21]]
|
49529
|
+
[1m[36m (52.9ms)[0m [1mcommit transaction[0m
|
49530
|
+
[1m[35mDelivery Load (0.1ms)[0m SELECT "deliveries".* FROM "deliveries" WHERE "deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
49531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
49532
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "orders" SET "total_price" = ?, "updated_at" = ? WHERE "orders"."id" = ? [["total_price", 25501.0], ["updated_at", "2016-03-14 18:22:08.980580"], ["id", 21]]
|
49533
|
+
[1m[36m (103.0ms)[0m [1mcommit transaction[0m
|
49534
|
+
Redirected to http://localhost:3000/simple_cart/orders/21
|
49535
|
+
Completed 302 Found in 167ms (ActiveRecord: 156.7ms)
|
49536
|
+
|
49537
|
+
|
49538
|
+
Started GET "/simple_cart/orders/21" for 127.0.0.1 at 2016-03-14 20:22:09 +0200
|
49539
|
+
Processing by SimpleCart::OrdersController#show as HTML
|
49540
|
+
Parameters: {"id"=>"21"}
|
49541
|
+
[1m[35mOrder Load (0.2ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 21]]
|
49542
|
+
[1m[36mBillingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 21]]
|
49543
|
+
[1m[35mShippingAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49544
|
+
[1m[36mDelivery Load (0.1ms)[0m [1mSELECT "deliveries".* FROM "deliveries" WHERE "deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
49545
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 21]]
|
49546
|
+
[1m[36mOrderItem Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1[0m [["order_id", "21"]]
|
49547
|
+
[1m[35mOrderItem Load (0.1ms)[0m SELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ? [["order_id", "21"]]
|
49548
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49549
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49550
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49551
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49552
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/orders/show.html.haml within layouts/simple_cart/application (20.2ms)
|
49553
|
+
Completed 200 OK in 48ms (Views: 45.2ms | ActiveRecord: 1.1ms)
|
49554
|
+
|
49555
|
+
|
49556
|
+
Started GET "/simple_cart/orders" for 127.0.0.1 at 2016-03-14 20:22:26 +0200
|
49557
|
+
Processing by SimpleCart::OrdersController#index as HTML
|
49558
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "orders"[0m
|
49559
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "orders" WHERE "orders"."aasm_state" = ? [["aasm_state", "in_progress"]]
|
49560
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."aasm_state" = ? ORDER BY "orders"."id" DESC[0m [["aasm_state", "in_progress"]]
|
49561
|
+
[1m[35mOrderItem Exists (0.1ms)[0m SELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1 [["order_id", "20"]]
|
49562
|
+
[1m[36mOrderItem Load (0.1ms)[0m [1mSELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ?[0m [["order_id", "20"]]
|
49563
|
+
[1m[35mBicycle Load (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49564
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49565
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49566
|
+
[1m[36mOrderItem Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1[0m [["order_id", "19"]]
|
49567
|
+
[1m[35mOrderItem Load (0.1ms)[0m SELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ? [["order_id", "19"]]
|
49568
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49569
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49570
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49571
|
+
[1m[35mOrderItem Exists (0.1ms)[0m SELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1 [["order_id", "16"]]
|
49572
|
+
[1m[36mOrderItem Load (0.1ms)[0m [1mSELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ?[0m [["order_id", "16"]]
|
49573
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49574
|
+
[1m[36mOrderItem Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "order_items" WHERE "order_items"."order_id" = ? LIMIT 1[0m [["order_id", "15"]]
|
49575
|
+
[1m[35mOrderItem Load (0.1ms)[0m SELECT "order_items".* FROM "order_items" WHERE "order_items"."order_id" = ? [["order_id", "15"]]
|
49576
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 2]]
|
49577
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49578
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "orders" WHERE "orders"."aasm_state" = ?[0m [["aasm_state", "in_queue"]]
|
49579
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."aasm_state" = ? ORDER BY "orders"."id" DESC [["aasm_state", "in_queue"]]
|
49580
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "orders" WHERE "orders"."aasm_state" = ?[0m [["aasm_state", "delivered"]]
|
49581
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/orders/index.html.haml within layouts/simple_cart/application (26.1ms)
|
49582
|
+
Completed 200 OK in 43ms (Views: 40.0ms | ActiveRecord: 1.5ms)
|
49583
|
+
|
49584
|
+
|
49585
|
+
Started GET "/simple_cart/orders/20/checkout" for 127.0.0.1 at 2016-03-14 20:22:51 +0200
|
49586
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
49587
|
+
Parameters: {"order_id"=>"20"}
|
49588
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 20]]
|
49589
|
+
Redirected to http://localhost:3000/simple_cart/orders/20/checkout/billing
|
49590
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
49591
|
+
|
49592
|
+
|
49593
|
+
Started GET "/simple_cart/orders/20/checkout/billing" for 127.0.0.1 at 2016-03-14 20:22:51 +0200
|
49594
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
49595
|
+
Parameters: {"order_id"=>"20", "id"=>"billing"}
|
49596
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 20]]
|
49597
|
+
[1m[35mBillingAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 20]]
|
49598
|
+
[1m[36mShippingAddress Load (0.1ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 20]]
|
49599
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 20]]
|
49600
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.6ms)
|
49601
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (9.4ms)
|
49602
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (18.7ms)
|
49603
|
+
Completed 200 OK in 39ms (Views: 33.9ms | ActiveRecord: 0.3ms)
|
49604
|
+
|
49605
|
+
|
49606
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:27:29 +0200
|
49607
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49608
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49609
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49610
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49611
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49612
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49613
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49614
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49615
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49616
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49617
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49618
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49619
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49620
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (26.0ms)
|
49621
|
+
Completed 200 OK in 45ms (Views: 42.5ms | ActiveRecord: 1.1ms)
|
49622
|
+
|
49623
|
+
|
49624
|
+
Started GET "/simple_cart/" for 127.0.0.1 at 2016-03-14 20:27:29 +0200
|
49625
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49626
|
+
[1m[36mBicycle Load (0.1ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", 1]]
|
49627
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 3]]
|
49628
|
+
[1m[36mItem Load (0.1ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 4]]
|
49629
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 2]]
|
49630
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49631
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49632
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49633
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49634
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1[0m [["id", "1"]]
|
49635
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "3"]]
|
49636
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "4"]]
|
49637
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "2"]]
|
49638
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (26.6ms)
|
49639
|
+
Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.4ms)
|
49640
|
+
|
49641
|
+
|
49642
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:27:31 +0200
|
49643
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49644
|
+
Parameters: {"authenticity_token"=>"Vpa1yuZeflC5u/LdPW8GUSGFr3TvwWhh1eYlNM/2enRiPALrqU5qDKbw6jP6WIjiTNhMSf9H+vWchcZYBZBbZw=="}
|
49645
|
+
Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
|
49646
|
+
|
49647
|
+
LoadError (Unable to autoload constant Order, expected /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/order.rb to define it):
|
49648
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
49649
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
49650
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
49651
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
49652
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/cart.rb:39:in `build_order'
|
49653
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/carts_controller.rb:9:in `checkout'
|
49654
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
49655
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
49656
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
49657
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
49658
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
49659
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
49660
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
49661
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
49662
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
49663
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
49664
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
49665
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
49666
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
49667
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
49668
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
49669
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
49670
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
49671
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
49672
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
49673
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
49674
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
49675
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
49676
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
49677
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
49678
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
49679
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
49680
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
49681
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
49682
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
49683
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
49684
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
49685
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
49686
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
49687
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49688
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
49689
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
49690
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
49691
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
49692
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
49693
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
49694
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
49695
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
49696
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
49697
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
49698
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
49699
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
49700
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
49701
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
49702
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
49703
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
49704
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
49705
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
49706
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
49707
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
49708
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
49709
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
49710
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
49711
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
49712
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
49713
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
49714
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
49715
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
49716
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
49717
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
49718
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
49719
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
49720
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
49721
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
49722
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
49723
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
49724
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
49725
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49726
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
49727
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
49728
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49729
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
49730
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49731
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
49732
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
49733
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
49734
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
49735
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
49736
|
+
|
49737
|
+
|
49738
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.0ms)
|
49739
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
|
49740
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
|
49741
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.8ms)
|
49742
|
+
|
49743
|
+
|
49744
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:27:54 +0200
|
49745
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
49746
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49747
|
+
Parameters: {"authenticity_token"=>"Vpa1yuZeflC5u/LdPW8GUSGFr3TvwWhh1eYlNM/2enRiPALrqU5qDKbw6jP6WIjiTNhMSf9H+vWchcZYBZBbZw=="}
|
49748
|
+
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.0ms)
|
49749
|
+
|
49750
|
+
LoadError (Unable to autoload constant Order, expected /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/order.rb to define it):
|
49751
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
49752
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
49753
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
49754
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
49755
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/cart.rb:39:in `build_order'
|
49756
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/carts_controller.rb:9:in `checkout'
|
49757
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
49758
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
49759
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
49760
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
49761
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
49762
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
49763
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
49764
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
49765
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
49766
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
49767
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
49768
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
49769
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
49770
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
49771
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
49772
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
49773
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
49774
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
49775
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
49776
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
49777
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
49778
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
49779
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
49780
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
49781
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
49782
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
49783
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
49784
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
49785
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
49786
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
49787
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
49788
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
49789
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
49790
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49791
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
49792
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
49793
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
49794
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
49795
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
49796
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
49797
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
49798
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
49799
|
+
rack (1.6.4) lib/rack/conditionalget.rb:38:in `call'
|
49800
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
49801
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
49802
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
49803
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
49804
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
49805
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
49806
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
49807
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
49808
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
49809
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
49810
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
49811
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
49812
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
49813
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
49814
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
49815
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
49816
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
49817
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
49818
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
49819
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
49820
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
49821
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
49822
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
49823
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
49824
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
49825
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
49826
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
49827
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
49828
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49829
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
49830
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
49831
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49832
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
49833
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49834
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
49835
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
49836
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
49837
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
49838
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
49839
|
+
|
49840
|
+
|
49841
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
|
49842
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
|
49843
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
49844
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.1ms)
|
49845
|
+
|
49846
|
+
|
49847
|
+
Started GET "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:28:24 +0200
|
49848
|
+
|
49849
|
+
ActionController::RoutingError (No route matches [GET] "/simple_cart/cart/checkout"):
|
49850
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
49851
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
49852
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
49853
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
49854
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
49855
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
49856
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
49857
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
49858
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
49859
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
49860
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
49861
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
49862
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49863
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
49864
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
49865
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49866
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
49867
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49868
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
49869
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
49870
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
49871
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
49872
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
49873
|
+
|
49874
|
+
|
49875
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
|
49876
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.2ms)
|
49877
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
49878
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.2ms)
|
49879
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
|
49880
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.8ms)
|
49881
|
+
|
49882
|
+
|
49883
|
+
Started GET "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:28:26 +0200
|
49884
|
+
|
49885
|
+
ActionController::RoutingError (No route matches [GET] "/simple_cart/cart/checkout"):
|
49886
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
49887
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
49888
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
49889
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
49890
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
49891
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
49892
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
49893
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
49894
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
49895
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
49896
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
49897
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
49898
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49899
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
49900
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
49901
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
49902
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
49903
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
49904
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
49905
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
49906
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
49907
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
49908
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
49909
|
+
|
49910
|
+
|
49911
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms)
|
49912
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.3ms)
|
49913
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
49914
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms)
|
49915
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
|
49916
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.5ms)
|
49917
|
+
|
49918
|
+
|
49919
|
+
Started GET "/simple_cart/cart/" for 127.0.0.1 at 2016-03-14 20:28:27 +0200
|
49920
|
+
Processing by SimpleCart::CartsController#show as HTML
|
49921
|
+
[1m[35mBicycle Load (0.2ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49922
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49923
|
+
[1m[35mItem Load (0.1ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49924
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 2]]
|
49925
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49926
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49927
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49928
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "2"]]
|
49929
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49930
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49931
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49932
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "2"]]
|
49933
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (49.6ms)
|
49934
|
+
Completed 200 OK in 256ms (Views: 252.0ms | ActiveRecord: 1.5ms)
|
49935
|
+
|
49936
|
+
|
49937
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:28:29 +0200
|
49938
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
49939
|
+
Parameters: {"authenticity_token"=>"NNccP7a8j2W8ZQ6n8IyIGVdo/vIX9B3zXV0AsdbsOGgAfase+aybOaMuFkk3uwaqOjUdzwdyj2cUPuPdHIoZew=="}
|
49940
|
+
[1m[35mBicycle Load (0.1ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", 1]]
|
49941
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 3]]
|
49942
|
+
[1m[35mItem Load (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", 4]]
|
49943
|
+
[1m[36mItem Load (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", 2]]
|
49944
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "bicycles".* FROM "bicycles" WHERE "bicycles"."id" = ? LIMIT 1 [["id", "1"]]
|
49945
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "3"]]
|
49946
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1 [["id", "4"]]
|
49947
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "items".* FROM "items" WHERE "items"."id" = ? LIMIT 1[0m [["id", "2"]]
|
49948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
49949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["total_price", 25481.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 18:28:29.514395"], ["updated_at", "2016-03-14 18:28:29.514395"]]
|
49950
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 22.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Bicycle"], ["order_id", "22"], ["created_at", "2016-03-14 18:28:29.516771"], ["updated_at", "2016-03-14 18:28:29.516771"]]
|
49951
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 25.0], ["qty", 1], ["itemable_id", 3], ["itemable_type", "Item"], ["order_id", "22"], ["created_at", "2016-03-14 18:28:29.519066"], ["updated_at", "2016-03-14 18:28:29.519066"]]
|
49952
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 0.0], ["qty", 3], ["itemable_id", 4], ["itemable_type", "Item"], ["order_id", "22"], ["created_at", "2016-03-14 18:28:29.520542"], ["updated_at", "2016-03-14 18:28:29.520542"]]
|
49953
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 25412.0], ["qty", 1], ["itemable_id", 2], ["itemable_type", "Item"], ["order_id", "22"], ["created_at", "2016-03-14 18:28:29.522302"], ["updated_at", "2016-03-14 18:28:29.522302"]]
|
49954
|
+
[1m[35m (325.6ms)[0m commit transaction
|
49955
|
+
Redirected to http://localhost:3000/simple_cart/orders/22/checkout
|
49956
|
+
Completed 302 Found in 404ms (ActiveRecord: 327.5ms)
|
49957
|
+
|
49958
|
+
|
49959
|
+
Started GET "/simple_cart/orders/22/checkout" for 127.0.0.1 at 2016-03-14 20:28:29 +0200
|
49960
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
49961
|
+
Parameters: {"order_id"=>"22"}
|
49962
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
|
49963
|
+
|
49964
|
+
ActiveRecord::StatementInvalid (Could not find table 'simple_cart_orders'):
|
49965
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:511:in `table_structure'
|
49966
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:385:in `columns'
|
49967
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
|
49968
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:93:in `columns'
|
49969
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:98:in `columns_hash'
|
49970
|
+
activerecord (4.2.5.2) lib/active_record/core.rb:135:in `find'
|
49971
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:46:in `set_order'
|
49972
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
|
49973
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `call'
|
49974
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `block in halting'
|
49975
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
49976
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `block in call'
|
49977
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `each'
|
49978
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
49979
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
49980
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
49981
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
49982
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
49983
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
49984
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
49985
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
49986
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
49987
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
49988
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
49989
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
49990
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
49991
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
49992
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
49993
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
49994
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
49995
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
49996
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
49997
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
49998
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
49999
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50000
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50001
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50002
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50003
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50004
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
50005
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
50006
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
50007
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50008
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50009
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50010
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50011
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
50012
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
50013
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
50014
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
50015
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
50016
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
50017
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
50018
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
50019
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
50020
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
50021
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
50022
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50023
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50024
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50025
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50026
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50027
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50028
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50029
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50030
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50031
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50032
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50033
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50034
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50035
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50036
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50037
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50038
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50039
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50040
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50041
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50042
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50043
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50044
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50045
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50046
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50047
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50048
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50049
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50050
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50051
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50052
|
+
|
50053
|
+
|
50054
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.6ms)
|
50055
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
|
50056
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
50057
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.2ms)
|
50058
|
+
|
50059
|
+
|
50060
|
+
Started GET "/simple_cart/orders/22/checkout" for 127.0.0.1 at 2016-03-14 20:28:40 +0200
|
50061
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50062
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
50063
|
+
Parameters: {"order_id"=>"22"}
|
50064
|
+
[1m[35mOrder Load (0.2ms)[0m SELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1 [["id", 22]]
|
50065
|
+
Redirected to http://localhost:3000/simple_cart/orders/22/checkout/billing
|
50066
|
+
Completed 302 Found in 38ms (ActiveRecord: 0.5ms)
|
50067
|
+
|
50068
|
+
|
50069
|
+
Started GET "/simple_cart/orders/22/checkout/billing" for 127.0.0.1 at 2016-03-14 20:28:40 +0200
|
50070
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
50071
|
+
Parameters: {"order_id"=>"22", "id"=>"billing"}
|
50072
|
+
[1m[36mOrder Load (0.1ms)[0m [1mSELECT "orders".* FROM "orders" WHERE "orders"."id" = ? LIMIT 1[0m [["id", 22]]
|
50073
|
+
[1m[35mBillingAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('BillingAddress') AND "addresses"."order_id" = ? LIMIT 1 [["order_id", 22]]
|
50074
|
+
[1m[36mShippingAddress Load (0.2ms)[0m [1mSELECT "addresses".* FROM "addresses" WHERE "addresses"."type" IN ('ShippingAddress') AND "addresses"."order_id" = ? LIMIT 1[0m [["order_id", 22]]
|
50075
|
+
[1m[35mCreditCard Load (0.1ms)[0m SELECT "credit_cards".* FROM "credit_cards" WHERE "credit_cards"."order_id" = ? LIMIT 1 [["order_id", 22]]
|
50076
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.6ms)
|
50077
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (17.5ms)
|
50078
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (31.1ms)
|
50079
|
+
Completed 200 OK in 282ms (Views: 238.1ms | ActiveRecord: 1.2ms)
|
50080
|
+
|
50081
|
+
|
50082
|
+
Started GET "/simple_cart/orders/22/checkout/billing" for 127.0.0.1 at 2016-03-14 20:30:31 +0200
|
50083
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
50084
|
+
Parameters: {"order_id"=>"22", "id"=>"billing"}
|
50085
|
+
Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.0ms)
|
50086
|
+
|
50087
|
+
LoadError (Unable to autoload constant Order, expected /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/order.rb to define it):
|
50088
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:495:in `load_missing_constant'
|
50089
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
50090
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
50091
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
50092
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:526:in `load_missing_constant'
|
50093
|
+
activesupport (4.2.5.2) lib/active_support/dependencies.rb:184:in `const_missing'
|
50094
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:46:in `set_order'
|
50095
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
|
50096
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `call'
|
50097
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `block in halting'
|
50098
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50099
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `block in call'
|
50100
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `each'
|
50101
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50102
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
50103
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
50104
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50105
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
50106
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
50107
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
50108
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
50109
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
50110
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
50111
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
50112
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
50113
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
50114
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
50115
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
50116
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
50117
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
50118
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
50119
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
50120
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
50121
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
50122
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50123
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50124
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50125
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50126
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50127
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
50128
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
50129
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
50130
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50131
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50132
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50133
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50134
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
50135
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
50136
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
50137
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
50138
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
50139
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
50140
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
50141
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
50142
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
50143
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
50144
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
50145
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50146
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50147
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50148
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50149
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50150
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50151
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50152
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50153
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50154
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50155
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50156
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50157
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50158
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50159
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50160
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50161
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50162
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50163
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50164
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50165
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50166
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50167
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50168
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50169
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50170
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50171
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50172
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50173
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50174
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50175
|
+
|
50176
|
+
|
50177
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms)
|
50178
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
|
50179
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
50180
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (17.2ms)
|
50181
|
+
|
50182
|
+
|
50183
|
+
Started GET "/simple_cart/orders/22/checkout/billing" for 127.0.0.1 at 2016-03-14 20:31:31 +0200
|
50184
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50185
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
50186
|
+
Parameters: {"order_id"=>"22", "id"=>"billing"}
|
50187
|
+
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.3ms)
|
50188
|
+
|
50189
|
+
ActiveRecord::StatementInvalid (Could not find table 'simple_cart_orders'):
|
50190
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:511:in `table_structure'
|
50191
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:385:in `columns'
|
50192
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
|
50193
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:93:in `columns'
|
50194
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:98:in `columns_hash'
|
50195
|
+
activerecord (4.2.5.2) lib/active_record/core.rb:135:in `find'
|
50196
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:46:in `set_order'
|
50197
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
|
50198
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `call'
|
50199
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `block in halting'
|
50200
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50201
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `block in call'
|
50202
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `each'
|
50203
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50204
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
50205
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
50206
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50207
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
50208
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
50209
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
50210
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
50211
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
50212
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
50213
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
50214
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
50215
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
50216
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
50217
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
50218
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
50219
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
50220
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
50221
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
50222
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
50223
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
50224
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50225
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50226
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50227
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50228
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50229
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
50230
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
50231
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
50232
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50233
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50234
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50235
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50236
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
50237
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
50238
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
50239
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
50240
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
50241
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
50242
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
50243
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
50244
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
50245
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
50246
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
50247
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50248
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50249
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50250
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50251
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50252
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50253
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50254
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50255
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50256
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50257
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50258
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50259
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50260
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50261
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50262
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50263
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50264
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50265
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50266
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50267
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50268
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50269
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50270
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50271
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50272
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50273
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50274
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50275
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50276
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50277
|
+
|
50278
|
+
|
50279
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.5ms)
|
50280
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
|
50281
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
|
50282
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.0ms)
|
50283
|
+
|
50284
|
+
|
50285
|
+
Started GET "/simple_cart/orders/22/checkout/" for 127.0.0.1 at 2016-03-14 20:31:39 +0200
|
50286
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50287
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
50288
|
+
Parameters: {"order_id"=>"22"}
|
50289
|
+
Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.3ms)
|
50290
|
+
|
50291
|
+
ActiveRecord::StatementInvalid (Could not find table 'simple_cart_orders'):
|
50292
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:511:in `table_structure'
|
50293
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:385:in `columns'
|
50294
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
|
50295
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:93:in `columns'
|
50296
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:98:in `columns_hash'
|
50297
|
+
activerecord (4.2.5.2) lib/active_record/core.rb:135:in `find'
|
50298
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:46:in `set_order'
|
50299
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
|
50300
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `call'
|
50301
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `block in halting'
|
50302
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50303
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `block in call'
|
50304
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `each'
|
50305
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50306
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
50307
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
50308
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50309
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
50310
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
50311
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
50312
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
50313
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
50314
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
50315
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
50316
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
50317
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
50318
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
50319
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
50320
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
50321
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
50322
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
50323
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
50324
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
50325
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
50326
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50327
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50328
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50329
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50330
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50331
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
50332
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
50333
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
50334
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50335
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50336
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50337
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50338
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
50339
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
50340
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
50341
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
50342
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
50343
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
50344
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
50345
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
50346
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
50347
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
50348
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
50349
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50350
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50351
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50352
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50353
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50354
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50355
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50356
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50357
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50358
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50359
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50360
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50361
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50362
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50363
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50364
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50365
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50366
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50367
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50368
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50369
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50370
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50371
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50372
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50373
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50374
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50375
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50376
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50377
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50378
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50379
|
+
|
50380
|
+
|
50381
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms)
|
50382
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
|
50383
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
50384
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (20.2ms)
|
50385
|
+
|
50386
|
+
|
50387
|
+
Started GET "/simple_cart/orders/22/checkout/" for 127.0.0.1 at 2016-03-14 20:32:21 +0200
|
50388
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
50389
|
+
Parameters: {"order_id"=>"22"}
|
50390
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms)
|
50391
|
+
|
50392
|
+
ActiveRecord::StatementInvalid (Could not find table 'simple_cart_orders'):
|
50393
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:511:in `table_structure'
|
50394
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/sqlite3_adapter.rb:385:in `columns'
|
50395
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/schema_cache.rb:43:in `columns'
|
50396
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:93:in `columns'
|
50397
|
+
activerecord (4.2.5.2) lib/active_record/attributes.rb:98:in `columns_hash'
|
50398
|
+
activerecord (4.2.5.2) lib/active_record/core.rb:135:in `find'
|
50399
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:46:in `set_order'
|
50400
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
|
50401
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `call'
|
50402
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:164:in `block in halting'
|
50403
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50404
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `block in call'
|
50405
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `each'
|
50406
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:504:in `call'
|
50407
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
50408
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
50409
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50410
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
50411
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
50412
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
50413
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
50414
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
50415
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
50416
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
50417
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
50418
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
50419
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
50420
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
50421
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
50422
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
50423
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
50424
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
50425
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
50426
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
50427
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50428
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50429
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50430
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50431
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50432
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
50433
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
50434
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
50435
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
50436
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
50437
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
50438
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
50439
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
50440
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
50441
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
50442
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
50443
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
50444
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
50445
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
50446
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
50447
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
50448
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
50449
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
50450
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50451
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50452
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50453
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50454
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50455
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50456
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50457
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50458
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50459
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50460
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50461
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50462
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50463
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50464
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50465
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50466
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50467
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50468
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50469
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50470
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50471
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50472
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50473
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50474
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50475
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50476
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50477
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50478
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50479
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50480
|
+
|
50481
|
+
|
50482
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
|
50483
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
|
50484
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
50485
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (16.3ms)
|
50486
|
+
[1m[36m (68.9ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar, "zipcode" varchar, "city" varchar, "phone" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "order_id" integer, "firstname" varchar, "lastname" varchar, "type" varchar) [0m
|
50487
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
50488
|
+
[1m[36m (64.9ms)[0m [1mCREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")[0m
|
50489
|
+
[1m[35m (51.2ms)[0m CREATE TABLE "bicycles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50490
|
+
[1m[36m (51.4ms)[0m [1mCREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
50491
|
+
[1m[35m (160.4ms)[0m CREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "cvv" varchar, "expiration_year" varchar, "expiration_month" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer, "order_id" integer)
|
50492
|
+
[1m[36m (50.7ms)[0m [1mCREATE INDEX "index_credit_cards_on_order_id" ON "credit_cards" ("order_id")[0m
|
50493
|
+
[1m[35m (105.7ms)[0m CREATE TABLE "deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "costs" decimal DEFAULT 0.0)
|
50494
|
+
[1m[36m (51.0ms)[0m [1mCREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
50495
|
+
[1m[35m (76.6ms)[0m CREATE TABLE "order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar)
|
50496
|
+
[1m[36m (161.2ms)[0m [1mCREATE INDEX "index_order_items_on_itemable_id" ON "order_items" ("itemable_id")[0m
|
50497
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
50498
|
+
FROM sqlite_master
|
50499
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50500
|
+
UNION ALL
|
50501
|
+
SELECT sql
|
50502
|
+
FROM sqlite_temp_master
|
50503
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50504
|
+
|
50505
|
+
[1m[36m (50.1ms)[0m [1mCREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")[0m
|
50506
|
+
[1m[35m (68.7ms)[0m CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar)
|
50507
|
+
[1m[36m (195.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
50508
|
+
[1m[35m (51.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
50509
|
+
[1m[36m (0.4ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
50510
|
+
[1m[35m (67.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312151409')
|
50511
|
+
[1m[36m (68.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160310231528')[0m
|
50512
|
+
[1m[35m (77.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312142752')
|
50513
|
+
[1m[36m (51.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160310215421')[0m
|
50514
|
+
[1m[35m (51.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312124602')
|
50515
|
+
[1m[36m (152.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312124601')[0m
|
50516
|
+
[1m[35m (51.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312145636')
|
50517
|
+
[1m[36m (51.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312151033')[0m
|
50518
|
+
[1m[35m (51.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160307150139')
|
50519
|
+
[1m[36m (146.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312142751')[0m
|
50520
|
+
[1m[35m (88.3ms)[0m CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar, "zipcode" varchar, "city" varchar, "phone" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "order_id" integer, "firstname" varchar, "lastname" varchar, "type" varchar)
|
50521
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
50522
|
+
[1m[35m (50.6ms)[0m CREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")
|
50523
|
+
[1m[36m (68.5ms)[0m [1mCREATE TABLE "bicycles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
50524
|
+
[1m[35m (159.7ms)[0m CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50525
|
+
[1m[36m (50.7ms)[0m [1mCREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "cvv" varchar, "expiration_year" varchar, "expiration_month" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer, "order_id" integer) [0m
|
50526
|
+
[1m[35m (68.2ms)[0m CREATE INDEX "index_credit_cards_on_order_id" ON "credit_cards" ("order_id")
|
50527
|
+
[1m[36m (59.5ms)[0m [1mCREATE TABLE "deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "costs" decimal DEFAULT 0.0) [0m
|
50528
|
+
[1m[35m (93.7ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50529
|
+
[1m[36m (51.0ms)[0m [1mCREATE TABLE "order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar) [0m
|
50530
|
+
[1m[35m (68.0ms)[0m CREATE INDEX "index_order_items_on_itemable_id" ON "order_items" ("itemable_id")
|
50531
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50532
|
+
FROM sqlite_master
|
50533
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50534
|
+
UNION ALL
|
50535
|
+
SELECT sql
|
50536
|
+
FROM sqlite_temp_master
|
50537
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50538
|
+
[0m
|
50539
|
+
[1m[35m (143.3ms)[0m CREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")
|
50540
|
+
[1m[36m (51.9ms)[0m [1mCREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar) [0m
|
50541
|
+
[1m[35m (51.5ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
50542
|
+
[1m[36m (76.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
50543
|
+
[1m[35m (1.1ms)[0m SELECT version FROM "schema_migrations"
|
50544
|
+
[1m[36m (119.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312151409')[0m
|
50545
|
+
[1m[35m (51.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160310231528')
|
50546
|
+
[1m[36m (202.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312142752')[0m
|
50547
|
+
[1m[35m (51.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160310215421')
|
50548
|
+
[1m[36m (51.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312124602')[0m
|
50549
|
+
[1m[35m (51.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312124601')
|
50550
|
+
[1m[36m (186.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160312145636')[0m
|
50551
|
+
[1m[35m (51.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312151033')
|
50552
|
+
[1m[36m (68.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160307150139')[0m
|
50553
|
+
[1m[35m (51.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160312142751')
|
50554
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50555
|
+
[1m[36m (64.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
50556
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
50557
|
+
[1m[36m (68.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
50558
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50559
|
+
Migrating to CreateItems (20160307150139)
|
50560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50561
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50562
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160307150139"]]
|
50563
|
+
[1m[35m (122.9ms)[0m commit transaction
|
50564
|
+
Migrating to CreateBicycles (20160310215421)
|
50565
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50566
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "bicycles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50567
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160310215421"]]
|
50568
|
+
[1m[35m (283.6ms)[0m commit transaction
|
50569
|
+
Migrating to CreateCoupons (20160310231528)
|
50570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50571
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "coupons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "code" varchar, "discount" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
50572
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160310231528"]]
|
50573
|
+
[1m[35m (82.2ms)[0m commit transaction
|
50574
|
+
Migrating to CreateOrderItems (20160312124601)
|
50575
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50576
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar)
|
50577
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_order_items_on_itemable_id" ON "order_items" ("itemable_id")[0m
|
50578
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50579
|
+
FROM sqlite_master
|
50580
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50581
|
+
UNION ALL
|
50582
|
+
SELECT sql
|
50583
|
+
FROM sqlite_temp_master
|
50584
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50585
|
+
|
50586
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")[0m
|
50587
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312124601"]]
|
50588
|
+
[1m[36m (82.2ms)[0m [1mcommit transaction[0m
|
50589
|
+
Migrating to CreateOrder (20160312124602)
|
50590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50591
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "shipping_id" integer, "aasm_state" varchar) [0m
|
50592
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312124602"]]
|
50593
|
+
[1m[36m (87.0ms)[0m [1mcommit transaction[0m
|
50594
|
+
Migrating to CreateOrderItem (20160312142751)
|
50595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50596
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "order_items"[0m
|
50597
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar)
|
50598
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_order_items_on_itemable_id" ON "order_items" ("itemable_id")[0m
|
50599
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50600
|
+
FROM sqlite_master
|
50601
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50602
|
+
UNION ALL
|
50603
|
+
SELECT sql
|
50604
|
+
FROM sqlite_temp_master
|
50605
|
+
WHERE name='index_order_items_on_itemable_id' AND type='index'
|
50606
|
+
|
50607
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")[0m
|
50608
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312142751"]]
|
50609
|
+
[1m[36m (95.7ms)[0m [1mcommit transaction[0m
|
50610
|
+
Migrating to Address (20160312142752)
|
50611
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50612
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar, "zipcode" varchar, "city" varchar, "phone" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "order_id" integer, "firstname" varchar, "lastname" varchar, "type" varchar) [0m
|
50613
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")
|
50614
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160312142752"]]
|
50615
|
+
[1m[35m (86.9ms)[0m commit transaction
|
50616
|
+
Migrating to Delivery (20160312145636)
|
50617
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50618
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "costs" decimal DEFAULT 0.0)
|
50619
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160312145636"]]
|
50620
|
+
[1m[35m (106.8ms)[0m commit transaction
|
50621
|
+
Migrating to Fix (20160312151033)
|
50622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50623
|
+
[1m[35m (0.5ms)[0m CREATE TEMPORARY TABLE "aorders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar)
|
50624
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "orders"[0m
|
50625
|
+
[1m[35m (0.3ms)[0m DROP TABLE "orders"
|
50626
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar) [0m
|
50627
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "aorders"
|
50628
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "aorders"[0m
|
50629
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160312151033"]]
|
50630
|
+
[1m[36m (75.5ms)[0m [1mcommit transaction[0m
|
50631
|
+
Migrating to AddCreditCard (20160312151409)
|
50632
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50633
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "cvv" varchar, "expiration_year" varchar, "expiration_month" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer, "order_id" integer) [0m
|
50634
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_credit_cards_on_order_id" ON "credit_cards" ("order_id")
|
50635
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160312151409"]]
|
50636
|
+
[1m[35m (80.6ms)[0m commit transaction
|
50637
|
+
Migrating to CreateSimpleCartOrderItem (20160314184235)
|
50638
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50639
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "simple_cart_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar)
|
50640
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_simple_cart_order_items_on_itemable_id" ON "simple_cart_order_items" ("itemable_id")[0m
|
50641
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
50642
|
+
FROM sqlite_master
|
50643
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50644
|
+
UNION ALL
|
50645
|
+
SELECT sql
|
50646
|
+
FROM sqlite_temp_master
|
50647
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50648
|
+
|
50649
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_simple_cart_order_items_on_order_id" ON "simple_cart_order_items" ("order_id")[0m
|
50650
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184235"]]
|
50651
|
+
[1m[36m (94.4ms)[0m [1mcommit transaction[0m
|
50652
|
+
Migrating to CreateSimpleCartOrder (20160314184236)
|
50653
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50654
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "simple_cart_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar) [0m
|
50655
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184236"]]
|
50656
|
+
[1m[36m (80.5ms)[0m [1mcommit transaction[0m
|
50657
|
+
Migrating to CreateSimpleCartAddress (20160314184237)
|
50658
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50659
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "simple_cart_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar, "zipcode" varchar, "city" varchar, "phone" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "order_id" integer, "firstname" varchar, "lastname" varchar, "type" varchar) [0m
|
50660
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_addresses_on_order_id" ON "simple_cart_addresses" ("order_id")
|
50661
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
50662
|
+
[1m[36m (62.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
50663
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
50664
|
+
[1m[36m (67.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
50665
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50666
|
+
Migrating to CreateSimpleCartOrderItem (20160314184432)
|
50667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50668
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "simple_cart_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "itemable_id" integer, "itemable_type" varchar, "order_id" varchar)
|
50669
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_simple_cart_order_items_on_itemable_id" ON "simple_cart_order_items" ("itemable_id")[0m
|
50670
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50671
|
+
FROM sqlite_master
|
50672
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50673
|
+
UNION ALL
|
50674
|
+
SELECT sql
|
50675
|
+
FROM sqlite_temp_master
|
50676
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50677
|
+
|
50678
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_simple_cart_order_items_on_order_id" ON "simple_cart_order_items" ("order_id")[0m
|
50679
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184432"]]
|
50680
|
+
[1m[36m (106.2ms)[0m [1mcommit transaction[0m
|
50681
|
+
Migrating to CreateSimpleCartOrder (20160314184433)
|
50682
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50683
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "simple_cart_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "total_price" decimal(10,2), "completed_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "delivery_id" integer, "aasm_state" varchar) [0m
|
50684
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184433"]]
|
50685
|
+
[1m[36m (49.9ms)[0m [1mcommit transaction[0m
|
50686
|
+
Migrating to CreateSimpleCartAddress (20160314184434)
|
50687
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50688
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "simple_cart_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar, "zipcode" varchar, "city" varchar, "phone" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "order_id" integer, "firstname" varchar, "lastname" varchar, "type" varchar) [0m
|
50689
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_simple_cart_addresses_on_order_id" ON "simple_cart_addresses" ("order_id")
|
50690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160314184434"]]
|
50691
|
+
[1m[35m (110.2ms)[0m commit transaction
|
50692
|
+
Migrating to CreateSimpleCartDelivery (20160314184435)
|
50693
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
50694
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "simple_cart_deliveries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "company" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "costs" decimal DEFAULT 0.0)
|
50695
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160314184435"]]
|
50696
|
+
[1m[35m (90.7ms)[0m commit transaction
|
50697
|
+
Migrating to AddCreditCard (20160314184436)
|
50698
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50699
|
+
Migrating to CreateSimpleCartCreditCard (20160314184436)
|
50700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50701
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "simple_cart_credit_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" varchar, "cvv" varchar, "expiration_year" varchar, "expiration_month" varchar, "firstname" varchar, "lastname" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer, "order_id" integer) [0m
|
50702
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
50703
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_simple_cart_credit_cards_on_order_id" ON "simple_cart_credit_cards" ("order_id")[0m
|
50704
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184436"]]
|
50705
|
+
[1m[36m (67.5ms)[0m [1mcommit transaction[0m
|
50706
|
+
Migrating to CreateSimpleCartAsdas (20160314184437)
|
50707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50708
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "simple_cart_asdas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "asg" varchar, "asgf" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
50709
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184437"]]
|
50710
|
+
[1m[36m (50.7ms)[0m [1mcommit transaction[0m
|
50711
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50712
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50713
|
+
FROM sqlite_master
|
50714
|
+
WHERE name='index_simple_cart_addresses_on_order_id' AND type='index'
|
50715
|
+
UNION ALL
|
50716
|
+
SELECT sql
|
50717
|
+
FROM sqlite_temp_master
|
50718
|
+
WHERE name='index_simple_cart_addresses_on_order_id' AND type='index'
|
50719
|
+
[0m
|
50720
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50721
|
+
FROM sqlite_master
|
50722
|
+
WHERE name='index_simple_cart_credit_cards_on_order_id' AND type='index'
|
50723
|
+
UNION ALL
|
50724
|
+
SELECT sql
|
50725
|
+
FROM sqlite_temp_master
|
50726
|
+
WHERE name='index_simple_cart_credit_cards_on_order_id' AND type='index'
|
50727
|
+
|
50728
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50729
|
+
FROM sqlite_master
|
50730
|
+
WHERE name='index_simple_cart_order_items_on_order_id' AND type='index'
|
50731
|
+
UNION ALL
|
50732
|
+
SELECT sql
|
50733
|
+
FROM sqlite_temp_master
|
50734
|
+
WHERE name='index_simple_cart_order_items_on_order_id' AND type='index'
|
50735
|
+
[0m
|
50736
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50737
|
+
FROM sqlite_master
|
50738
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50739
|
+
UNION ALL
|
50740
|
+
SELECT sql
|
50741
|
+
FROM sqlite_temp_master
|
50742
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50743
|
+
|
50744
|
+
|
50745
|
+
|
50746
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:45:53 +0200
|
50747
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50748
|
+
Processing by ItemsController#index as HTML
|
50749
|
+
[1m[36mItem Load (0.2ms)[0m [1mSELECT "items".* FROM "items"[0m
|
50750
|
+
Rendered items/index.html.erb (1.4ms)
|
50751
|
+
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.2ms)
|
50752
|
+
|
50753
|
+
ActionView::Template::Error (SQLite3::SQLException: no such table: items: SELECT "items".* FROM "items"):
|
50754
|
+
13: </thead>
|
50755
|
+
14:
|
50756
|
+
15: <tbody>
|
50757
|
+
16: <% @items.each do |item| %>
|
50758
|
+
17: <tr>
|
50759
|
+
18: <td><%= item.name %></td>
|
50760
|
+
19: <td><%= item.price %></td>
|
50761
|
+
app/views/items/index.html.erb:16:in `_app_views_items_index_html_erb__2721162110122551462_38745420'
|
50762
|
+
|
50763
|
+
|
50764
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.6ms)
|
50765
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
|
50766
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
50767
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.7ms)
|
50768
|
+
|
50769
|
+
|
50770
|
+
Started GET "/items" for 127.0.0.1 at 2016-03-14 20:45:53 +0200
|
50771
|
+
Processing by ItemsController#index as HTML
|
50772
|
+
[1m[35mItem Load (0.2ms)[0m SELECT "items".* FROM "items"
|
50773
|
+
Rendered items/index.html.erb (0.8ms)
|
50774
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
|
50775
|
+
|
50776
|
+
ActionView::Template::Error (SQLite3::SQLException: no such table: items: SELECT "items".* FROM "items"):
|
50777
|
+
13: </thead>
|
50778
|
+
14:
|
50779
|
+
15: <tbody>
|
50780
|
+
16: <% @items.each do |item| %>
|
50781
|
+
17: <tr>
|
50782
|
+
18: <td><%= item.name %></td>
|
50783
|
+
19: <td><%= item.price %></td>
|
50784
|
+
app/views/items/index.html.erb:16:in `_app_views_items_index_html_erb__2721162110122551462_38745420'
|
50785
|
+
|
50786
|
+
|
50787
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms)
|
50788
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms)
|
50789
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
50790
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms)
|
50791
|
+
|
50792
|
+
|
50793
|
+
Started GET "/things" for 127.0.0.1 at 2016-03-14 20:47:54 +0200
|
50794
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50795
|
+
|
50796
|
+
ActiveRecord::PendingMigrationError (
|
50797
|
+
|
50798
|
+
Migrations are pending. To resolve this issue, run:
|
50799
|
+
|
50800
|
+
bin/rake db:migrate RAILS_ENV=development
|
50801
|
+
|
50802
|
+
):
|
50803
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:392:in `check_pending!'
|
50804
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:373:in `call'
|
50805
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
50806
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
50807
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
50808
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
50809
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
50810
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
50811
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
50812
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
50813
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
50814
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
50815
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
50816
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
50817
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
50818
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
50819
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
50820
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
50821
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
50822
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
50823
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
50824
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50825
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
50826
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
50827
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
50828
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
50829
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
50830
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
50831
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
50832
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
50833
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
50834
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
50835
|
+
|
50836
|
+
|
50837
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms)
|
50838
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms)
|
50839
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
50840
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (18.5ms)
|
50841
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50842
|
+
Migrating to CreateThings (20160314184745)
|
50843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50844
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "things" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "price" decimal, "qty" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
50845
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160314184745"]]
|
50846
|
+
[1m[36m (79.9ms)[0m [1mcommit transaction[0m
|
50847
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50848
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50849
|
+
FROM sqlite_master
|
50850
|
+
WHERE name='index_simple_cart_addresses_on_order_id' AND type='index'
|
50851
|
+
UNION ALL
|
50852
|
+
SELECT sql
|
50853
|
+
FROM sqlite_temp_master
|
50854
|
+
WHERE name='index_simple_cart_addresses_on_order_id' AND type='index'
|
50855
|
+
[0m
|
50856
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50857
|
+
FROM sqlite_master
|
50858
|
+
WHERE name='index_simple_cart_credit_cards_on_order_id' AND type='index'
|
50859
|
+
UNION ALL
|
50860
|
+
SELECT sql
|
50861
|
+
FROM sqlite_temp_master
|
50862
|
+
WHERE name='index_simple_cart_credit_cards_on_order_id' AND type='index'
|
50863
|
+
|
50864
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
50865
|
+
FROM sqlite_master
|
50866
|
+
WHERE name='index_simple_cart_order_items_on_order_id' AND type='index'
|
50867
|
+
UNION ALL
|
50868
|
+
SELECT sql
|
50869
|
+
FROM sqlite_temp_master
|
50870
|
+
WHERE name='index_simple_cart_order_items_on_order_id' AND type='index'
|
50871
|
+
[0m
|
50872
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
50873
|
+
FROM sqlite_master
|
50874
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50875
|
+
UNION ALL
|
50876
|
+
SELECT sql
|
50877
|
+
FROM sqlite_temp_master
|
50878
|
+
WHERE name='index_simple_cart_order_items_on_itemable_id' AND type='index'
|
50879
|
+
|
50880
|
+
|
50881
|
+
|
50882
|
+
Started GET "/things" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50883
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
50884
|
+
Processing by ThingsController#index as HTML
|
50885
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things"[0m
|
50886
|
+
Rendered things/index.html.erb within layouts/application (1.8ms)
|
50887
|
+
Completed 200 OK in 299ms (Views: 296.0ms | ActiveRecord: 0.2ms)
|
50888
|
+
|
50889
|
+
|
50890
|
+
Started GET "/assets/bicycles.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50891
|
+
|
50892
|
+
|
50893
|
+
Started GET "/assets/items.self-b60acab5af8d245ed2b3012f77d11d8d207d8eada27756badaf4ef05770d60f6.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50894
|
+
|
50895
|
+
|
50896
|
+
Started GET "/assets/scaffold.self-83b741db49389dc7cfdf85bf7537a0219cce48e085c4116afc83d55c9af47c78.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50897
|
+
|
50898
|
+
|
50899
|
+
Started GET "/assets/scaffolds.self-a292cc26f60e7f7bad7cfbbbb7e5b67ad3b7fb5a457ace846c62d539e4c7518c.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50900
|
+
|
50901
|
+
|
50902
|
+
Started GET "/assets/things.self-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50903
|
+
|
50904
|
+
|
50905
|
+
Started GET "/assets/bicycles.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50906
|
+
|
50907
|
+
|
50908
|
+
Started GET "/assets/application.self-8f06a73c35179188914ab50e057157639fce1401c1cdca640ac9cec33746fc5b.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50909
|
+
|
50910
|
+
|
50911
|
+
Started GET "/assets/items.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50912
|
+
|
50913
|
+
|
50914
|
+
Started GET "/assets/things.self-19a187bec6cdb96d6de80a61c16c857c613536adf9138476bd367db38d282635.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:01 +0200
|
50915
|
+
|
50916
|
+
|
50917
|
+
Started GET "/things/new" for 127.0.0.1 at 2016-03-14 20:48:02 +0200
|
50918
|
+
Processing by ThingsController#new as HTML
|
50919
|
+
Rendered things/_form.html.erb (30.2ms)
|
50920
|
+
Rendered things/new.html.erb within layouts/application (37.7ms)
|
50921
|
+
Completed 200 OK in 87ms (Views: 74.9ms | ActiveRecord: 0.3ms)
|
50922
|
+
|
50923
|
+
|
50924
|
+
Started POST "/things" for 127.0.0.1 at 2016-03-14 20:48:05 +0200
|
50925
|
+
Processing by ThingsController#create as HTML
|
50926
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"iI/M3fdlg7mQ+5Z4LuJAAvaCd0CPMsPd4P3JAvu1yBW8JXv8uHWX5Y+wjpbp1c6xm9+UfZ+0UUmpnipuMdPpBg==", "thing"=>{"name"=>"225", "price"=>"52251", "qty"=>"1"}, "commit"=>"Create Thing"}
|
50927
|
+
[1m[35m (0.1ms)[0m begin transaction
|
50928
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "things" ("name", "price", "qty", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["name", "225"], ["price", 52251.0], ["qty", 1], ["created_at", "2016-03-14 18:48:05.862197"], ["updated_at", "2016-03-14 18:48:05.862197"]]
|
50929
|
+
[1m[35m (55.4ms)[0m commit transaction
|
50930
|
+
Redirected to http://localhost:3000/things/1
|
50931
|
+
Completed 302 Found in 63ms (ActiveRecord: 55.8ms)
|
50932
|
+
|
50933
|
+
|
50934
|
+
Started GET "/things/1" for 127.0.0.1 at 2016-03-14 20:48:05 +0200
|
50935
|
+
Processing by ThingsController#show as HTML
|
50936
|
+
Parameters: {"id"=>"1"}
|
50937
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
50938
|
+
Rendered things/show.html.erb within layouts/application (2.2ms)
|
50939
|
+
Completed 200 OK in 33ms (Views: 25.7ms | ActiveRecord: 0.2ms)
|
50940
|
+
|
50941
|
+
|
50942
|
+
Started GET "/things/1" for 127.0.0.1 at 2016-03-14 20:48:26 +0200
|
50943
|
+
Processing by ThingsController#show as HTML
|
50944
|
+
Parameters: {"id"=>"1"}
|
50945
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
50946
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/_buy.html.haml (12.2ms)
|
50947
|
+
Rendered things/show.html.erb within layouts/application (14.2ms)
|
50948
|
+
Completed 200 OK in 27ms (Views: 25.3ms | ActiveRecord: 0.1ms)
|
50949
|
+
|
50950
|
+
|
50951
|
+
Started POST "/simple_cart/cart/1" for 127.0.0.1 at 2016-03-14 20:48:29 +0200
|
50952
|
+
Processing by SimpleCart::CartsController#add as HTML
|
50953
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"o56Bi/F7i6SAnENGy9/RMGTMyTo19juCvcXz1Puq3FuXNDaqvmuf+J/XW6gM6F+DCZEqByVwqRb0phC4Mcz9SA==", "qty"=>"5", "klass"=>"Thing", "commit"=>"Add to cart", "item_id"=>"1"}
|
50954
|
+
Redirected to http://localhost:3000/simple_cart/cart
|
50955
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.0ms)
|
50956
|
+
|
50957
|
+
|
50958
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 20:48:29 +0200
|
50959
|
+
Processing by SimpleCart::CartsController#show as HTML
|
50960
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (7.2ms)
|
50961
|
+
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
|
50962
|
+
|
50963
|
+
ActionView::Template::Error (uninitialized constant Bicycle):
|
50964
|
+
9: .thumbnail
|
50965
|
+
10: .caption-full
|
50966
|
+
11: = form_tag url_for(:controller => 'carts', :action => 'update'), method: :put do
|
50967
|
+
12: - if @cart.items.nil?
|
50968
|
+
13: empty
|
50969
|
+
14: - else
|
50970
|
+
15: %table.table.table-hover
|
50971
|
+
activesupport (4.2.5.2) lib/active_support/inflector/methods.rb:261:in `const_get'
|
50972
|
+
activesupport (4.2.5.2) lib/active_support/inflector/methods.rb:261:in `block in constantize'
|
50973
|
+
activesupport (4.2.5.2) lib/active_support/inflector/methods.rb:259:in `each'
|
50974
|
+
activesupport (4.2.5.2) lib/active_support/inflector/methods.rb:259:in `inject'
|
50975
|
+
activesupport (4.2.5.2) lib/active_support/inflector/methods.rb:259:in `constantize'
|
50976
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/string/inflections.rb:66:in `constantize'
|
50977
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/simple_cart/cart.rb:26:in `block in items'
|
50978
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/simple_cart/cart.rb:25:in `each'
|
50979
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/models/simple_cart/cart.rb:25:in `items'
|
50980
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml:12:in `block in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_carts_show_html_haml__3057589455894867635_69863731654280'
|
50981
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:118:in `call'
|
50982
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:118:in `block (2 levels) in form_tag_with_haml'
|
50983
|
+
haml (4.0.7) lib/haml/helpers.rb:278:in `with_tabs'
|
50984
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:118:in `block in form_tag_with_haml'
|
50985
|
+
haml (4.0.7) lib/haml/helpers.rb:631:in `call'
|
50986
|
+
haml (4.0.7) lib/haml/helpers.rb:631:in `block in haml_bind_proc'
|
50987
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `call'
|
50988
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `block in capture_haml'
|
50989
|
+
haml (4.0.7) lib/haml/helpers.rb:608:in `with_haml_buffer'
|
50990
|
+
haml (4.0.7) lib/haml/helpers.rb:364:in `capture_haml'
|
50991
|
+
haml (4.0.7) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
|
50992
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
|
50993
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_tag_helper.rb:70:in `form_tag'
|
50994
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:121:in `form_tag_with_haml'
|
50995
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:18:in `form_tag_with_haml_xss'
|
50996
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml:11:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_carts_show_html_haml__3057589455894867635_69863731654280'
|
50997
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
50998
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
50999
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51000
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51001
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
|
51002
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51003
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51004
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51005
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51006
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51007
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
|
51008
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
|
51009
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
51010
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
51011
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:46:in `render_template'
|
51012
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:27:in `render'
|
51013
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:100:in `_render_template'
|
51014
|
+
actionpack (4.2.5.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
51015
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:83:in `render_to_body'
|
51016
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
51017
|
+
actionpack (4.2.5.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
51018
|
+
actionpack (4.2.5.2) lib/abstract_controller/rendering.rb:25:in `render'
|
51019
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:16:in `render'
|
51020
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
51021
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
51022
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
51023
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
51024
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
51025
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
51026
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
51027
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
51028
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
51029
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
51030
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
51031
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
51032
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
51033
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51034
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51035
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
51036
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51037
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51038
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
51039
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
51040
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51041
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
51042
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
51043
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
51044
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51045
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51046
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51047
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
51048
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
51049
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
51050
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
51051
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
51052
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
51053
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
51054
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
51055
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
51056
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
51057
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
51058
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51059
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51060
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51061
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51062
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51063
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
51064
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
51065
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
51066
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51067
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51068
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51069
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51070
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
51071
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
51072
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
51073
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
51074
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
51075
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
51076
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
51077
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
51078
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
51079
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
51080
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
51081
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
51082
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
51083
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
51084
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51085
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
51086
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
51087
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
51088
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51089
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
51090
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
51091
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
51092
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
51093
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
51094
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
51095
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
51096
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
51097
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
51098
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
51099
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
51100
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51101
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
51102
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
51103
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51104
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
51105
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51106
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
51107
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
51108
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
51109
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
51110
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
51111
|
+
|
51112
|
+
|
51113
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.4ms)
|
51114
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
|
51115
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
51116
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.8ms)
|
51117
|
+
|
51118
|
+
|
51119
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51120
|
+
Processing by SimpleCart::CartsController#show as HTML
|
51121
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (10.1ms)
|
51122
|
+
Completed 200 OK in 69ms (Views: 68.0ms | ActiveRecord: 0.0ms)
|
51123
|
+
|
51124
|
+
|
51125
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51126
|
+
|
51127
|
+
|
51128
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51129
|
+
|
51130
|
+
|
51131
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51132
|
+
|
51133
|
+
|
51134
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51135
|
+
|
51136
|
+
|
51137
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 20:48:48 +0200
|
51138
|
+
|
51139
|
+
|
51140
|
+
Started GET "/things" for 127.0.0.1 at 2016-03-14 20:48:54 +0200
|
51141
|
+
Processing by ThingsController#index as HTML
|
51142
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things"[0m
|
51143
|
+
Rendered things/index.html.erb within layouts/application (3.1ms)
|
51144
|
+
Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.3ms)
|
51145
|
+
|
51146
|
+
|
51147
|
+
Started GET "/things/1" for 127.0.0.1 at 2016-03-14 20:48:56 +0200
|
51148
|
+
Processing by ThingsController#show as HTML
|
51149
|
+
Parameters: {"id"=>"1"}
|
51150
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
51151
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/_buy.html.haml (6.9ms)
|
51152
|
+
Rendered things/show.html.erb within layouts/application (8.2ms)
|
51153
|
+
Completed 200 OK in 27ms (Views: 25.1ms | ActiveRecord: 0.1ms)
|
51154
|
+
|
51155
|
+
|
51156
|
+
Started POST "/simple_cart/cart/1" for 127.0.0.1 at 2016-03-14 20:48:58 +0200
|
51157
|
+
Processing by SimpleCart::CartsController#add as HTML
|
51158
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"ARVWwRmJjimeSRxiUTfu4s/M5L4fBjKChE4A+T6NprhpTxMDcrGO9JJC297M0fwl9VDBNqsJRDgVDtP3wXxpsQ==", "qty"=>"2", "klass"=>"Thing", "commit"=>"Add to cart", "item_id"=>"1"}
|
51159
|
+
Redirected to http://localhost:3000/simple_cart/cart
|
51160
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
|
51161
|
+
|
51162
|
+
|
51163
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 20:48:58 +0200
|
51164
|
+
Processing by SimpleCart::CartsController#show as HTML
|
51165
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
51166
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
51167
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
51168
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (10.0ms)
|
51169
|
+
Completed 200 OK in 26ms (Views: 25.4ms | ActiveRecord: 0.1ms)
|
51170
|
+
|
51171
|
+
|
51172
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 20:49:03 +0200
|
51173
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
51174
|
+
Parameters: {"authenticity_token"=>"yOjmeECxx8RAukH/95ez/IGKZtPo+MamHPYlf/tnAp+gsqO6K4nHGUyxhkNqcaE7uxZDW1z3sByNtvZxBJbNlg=="}
|
51175
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
51176
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
51177
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51178
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "simple_cart_orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["total_price", 104502.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 18:49:03.241718"], ["updated_at", "2016-03-14 18:49:03.241718"]]
|
51179
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "simple_cart_order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["price", 52251.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Thing"], ["order_id", "1"], ["created_at", "2016-03-14 18:49:03.243099"], ["updated_at", "2016-03-14 18:49:03.243099"]]
|
51180
|
+
[1m[36m (68.6ms)[0m [1mcommit transaction[0m
|
51181
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout
|
51182
|
+
Completed 302 Found in 112ms (ActiveRecord: 69.7ms)
|
51183
|
+
|
51184
|
+
|
51185
|
+
Started GET "/simple_cart/orders/1/checkout" for 127.0.0.1 at 2016-03-14 20:49:03 +0200
|
51186
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
51187
|
+
Parameters: {"order_id"=>"1"}
|
51188
|
+
[1m[35mSimpleCart::Order Load (0.4ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51189
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/billing
|
51190
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
51191
|
+
|
51192
|
+
|
51193
|
+
Started GET "/simple_cart/orders/1/checkout/billing" for 127.0.0.1 at 2016-03-14 20:49:03 +0200
|
51194
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51195
|
+
Parameters: {"order_id"=>"1", "id"=>"billing"}
|
51196
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51197
|
+
[1m[35mSimpleCart::BillingAddress Load (0.3ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51198
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.3ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51199
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51200
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.1ms)
|
51201
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (22.6ms)
|
51202
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (29.9ms)
|
51203
|
+
Completed 500 Internal Server Error in 74ms (ActiveRecord: 1.3ms)
|
51204
|
+
|
51205
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Address):
|
51206
|
+
18: = ff.text_field :phone, class: 'form-control'
|
51207
|
+
19: .form-group
|
51208
|
+
20: = ff.label :country
|
51209
|
+
21: = ff.collection_select :country, Address.countries, :to_s, :to_s, {}, {class: 'form-control'}
|
51210
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml:21:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout__address_html_haml___2651792928338168151_69863760223060'
|
51211
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
51212
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
51213
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51214
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51215
|
+
actionview (4.2.5.2) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
|
51216
|
+
actionview (4.2.5.2) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
|
51217
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51218
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51219
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51220
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51221
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51222
|
+
actionview (4.2.5.2) lib/action_view/renderer/partial_renderer.rb:309:in `render'
|
51223
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:51:in `render_partial'
|
51224
|
+
actionview (4.2.5.2) lib/action_view/helpers/rendering_helper.rb:35:in `render'
|
51225
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
|
51226
|
+
haml (4.0.7) lib/haml/helpers.rb:89:in `non_haml'
|
51227
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
|
51228
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml:18:in `block (2 levels) in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_billing_html_haml___2553148978678224937_69863758962220'
|
51229
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `call'
|
51230
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `block in capture_haml'
|
51231
|
+
haml (4.0.7) lib/haml/helpers.rb:608:in `with_haml_buffer'
|
51232
|
+
haml (4.0.7) lib/haml/helpers.rb:364:in `capture_haml'
|
51233
|
+
haml (4.0.7) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
|
51234
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
|
51235
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1925:in `block in fields_for_nested_model'
|
51236
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51237
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51238
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51239
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51240
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51241
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
|
51242
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model'
|
51243
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1914:in `fields_for_with_nested_attributes'
|
51244
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1582:in `fields_for'
|
51245
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml:17:in `block in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_billing_html_haml___2553148978678224937_69863758962220'
|
51246
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `call'
|
51247
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
|
51248
|
+
haml (4.0.7) lib/haml/helpers.rb:278:in `with_tabs'
|
51249
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
|
51250
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51251
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51252
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51253
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51254
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51255
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:444:in `form_for'
|
51256
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
|
51257
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
|
51258
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml:6:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_billing_html_haml___2553148978678224937_69863758962220'
|
51259
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
51260
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
51261
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51262
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51263
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
|
51264
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51265
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51266
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51267
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51268
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51269
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
|
51270
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
|
51271
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
51272
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
51273
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:46:in `render_template'
|
51274
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:27:in `render'
|
51275
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:100:in `_render_template'
|
51276
|
+
actionpack (4.2.5.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
51277
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:83:in `render_to_body'
|
51278
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
51279
|
+
actionpack (4.2.5.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
51280
|
+
actionpack (4.2.5.2) lib/abstract_controller/rendering.rb:25:in `render'
|
51281
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:16:in `render'
|
51282
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
51283
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
51284
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
51285
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
51286
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
51287
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
51288
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
51289
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
51290
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:29:in `render_step'
|
51291
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:11:in `render_wizard'
|
51292
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:23:in `show'
|
51293
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
51294
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
51295
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
51296
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
51297
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51298
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51299
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
51300
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51301
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51302
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
51303
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
51304
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51305
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
51306
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
51307
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
51308
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51309
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51310
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51311
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
51312
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
51313
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
51314
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
51315
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
51316
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
51317
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
51318
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
51319
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
51320
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
51321
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
51322
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51323
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51324
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51325
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51326
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51327
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
51328
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
51329
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
51330
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51331
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51332
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51333
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51334
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
51335
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
51336
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
51337
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
51338
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
51339
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
51340
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
51341
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
51342
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
51343
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
51344
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
51345
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
51346
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
51347
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
51348
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51349
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
51350
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
51351
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
51352
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51353
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
51354
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
51355
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
51356
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
51357
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
51358
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
51359
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
51360
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
51361
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
51362
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
51363
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
51364
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51365
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
51366
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
51367
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51368
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
51369
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51370
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
51371
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
51372
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
51373
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
51374
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
51375
|
+
|
51376
|
+
|
51377
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.8ms)
|
51378
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
|
51379
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
51380
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.4ms)
|
51381
|
+
|
51382
|
+
|
51383
|
+
Started GET "/simple_cart/orders/1/checkout/billing" for 127.0.0.1 at 2016-03-14 20:50:08 +0200
|
51384
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51385
|
+
Parameters: {"order_id"=>"1", "id"=>"billing"}
|
51386
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51387
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51388
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51389
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51390
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
51391
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (11.6ms)
|
51392
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
51393
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
51394
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (6.2ms)
|
51395
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (31.8ms)
|
51396
|
+
Completed 200 OK in 59ms (Views: 50.2ms | ActiveRecord: 0.6ms)
|
51397
|
+
|
51398
|
+
|
51399
|
+
Started PATCH "/simple_cart/orders/1/checkout/billing" for 127.0.0.1 at 2016-03-14 20:50:16 +0200
|
51400
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
51401
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"tgmWsIJjrsvAmJxHrbIXdkM07B+Q7nLZlNSGgF+oGjfeU9Ny6VuuFsyTW/swVAWxeajJlyThBGMFlFWOoFnVPg==", "order"=>{"billing_address_attributes"=>{"firstname"=>"fsa", "lastname"=>"gsgsa", "address"=>"sasgaasg", "zipcode"=>"saggsasga", "city"=>"gasgsa", "phone"=>"251", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"1", "id"=>"billing"}
|
51402
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51404
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51405
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_addresses" ("type", "firstname", "lastname", "address", "zipcode", "city", "phone", "country", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "SimpleCart::BillingAddress"], ["firstname", "fsa"], ["lastname", "gsgsa"], ["address", "sasgaasg"], ["zipcode", "saggsasga"], ["city", "gasgsa"], ["phone", "251"], ["country", "Afghanistan"], ["order_id", 1], ["created_at", "2016-03-14 18:50:16.089017"], ["updated_at", "2016-03-14 18:50:16.089017"]]
|
51406
|
+
[1m[36m (59.3ms)[0m [1mcommit transaction[0m
|
51407
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51408
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51409
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_addresses" ("type", "order_id", "address", "zipcode", "city", "phone", "country", "created_at", "updated_at", "firstname", "lastname") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "SimpleCart::ShippingAddress"], ["order_id", 1], ["address", "sasgaasg"], ["zipcode", "saggsasga"], ["city", "gasgsa"], ["phone", "251"], ["country", "Afghanistan"], ["created_at", "2016-03-14 18:50:16.089017"], ["updated_at", "2016-03-14 18:50:16.089017"], ["firstname", "fsa"], ["lastname", "gsgsa"]]
|
51410
|
+
[1m[36m (102.5ms)[0m [1mcommit transaction[0m
|
51411
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/delivery
|
51412
|
+
Completed 302 Found in 176ms (ActiveRecord: 163.0ms)
|
51413
|
+
|
51414
|
+
|
51415
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:50:16 +0200
|
51416
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51417
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
51418
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51419
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51420
|
+
[1m[35mSimpleCart::BillingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51421
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51422
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.3ms)
|
51423
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (10.2ms)
|
51424
|
+
Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.6ms)
|
51425
|
+
|
51426
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Delivery):
|
51427
|
+
33: %li= msg
|
51428
|
+
34:
|
51429
|
+
35: .form-group
|
51430
|
+
36: - Delivery.all.each do |company|
|
51431
|
+
37: .radio
|
51432
|
+
38: %label
|
51433
|
+
39: = f.radio_button :delivery_id, company.id, :checked => company == Delivery.first || @order.delivery == company
|
51434
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml:36:in `block in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_delivery_html_haml___1082272580694243827_69863731271320'
|
51435
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `call'
|
51436
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
|
51437
|
+
haml (4.0.7) lib/haml/helpers.rb:278:in `with_tabs'
|
51438
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
|
51439
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51440
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51441
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51442
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51443
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51444
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:444:in `form_for'
|
51445
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
|
51446
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
|
51447
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml:27:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_delivery_html_haml___1082272580694243827_69863731271320'
|
51448
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
51449
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
51450
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51451
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51452
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
|
51453
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51454
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51455
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51456
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51457
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51458
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
|
51459
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
|
51460
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
51461
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
51462
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:46:in `render_template'
|
51463
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:27:in `render'
|
51464
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:100:in `_render_template'
|
51465
|
+
actionpack (4.2.5.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
51466
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:83:in `render_to_body'
|
51467
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
51468
|
+
actionpack (4.2.5.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
51469
|
+
actionpack (4.2.5.2) lib/abstract_controller/rendering.rb:25:in `render'
|
51470
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:16:in `render'
|
51471
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
51472
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
51473
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
51474
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
51475
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
51476
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
51477
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
51478
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
51479
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:29:in `render_step'
|
51480
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:11:in `render_wizard'
|
51481
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:23:in `show'
|
51482
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
51483
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
51484
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
51485
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
51486
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51487
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51488
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
51489
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51490
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51491
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
51492
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
51493
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51494
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
51495
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
51496
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
51497
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51498
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51499
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51500
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
51501
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
51502
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
51503
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
51504
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
51505
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
51506
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
51507
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
51508
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
51509
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
51510
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
51511
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51512
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51513
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51514
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51515
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51516
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
51517
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
51518
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
51519
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51520
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51521
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51522
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51523
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
51524
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
51525
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
51526
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
51527
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
51528
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
51529
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
51530
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
51531
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
51532
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
51533
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
51534
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
51535
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
51536
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
51537
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51538
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
51539
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
51540
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
51541
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51542
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
51543
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
51544
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
51545
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
51546
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
51547
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
51548
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
51549
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
51550
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
51551
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
51552
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
51553
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51554
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
51555
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
51556
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51557
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
51558
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51559
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
51560
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
51561
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
51562
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
51563
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
51564
|
+
|
51565
|
+
|
51566
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms)
|
51567
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
|
51568
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
|
51569
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (22.8ms)
|
51570
|
+
|
51571
|
+
|
51572
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:50:33 +0200
|
51573
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51574
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
51575
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51576
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51577
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51578
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51579
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (0.9ms)
|
51580
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (9.6ms)
|
51581
|
+
Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.4ms)
|
51582
|
+
|
51583
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::Delivery):
|
51584
|
+
33: %li= msg
|
51585
|
+
34:
|
51586
|
+
35: .form-group
|
51587
|
+
36: - Delivery.all.each do |company|
|
51588
|
+
37: .radio
|
51589
|
+
38: %label
|
51590
|
+
39: = f.radio_button :delivery_id, company.id, :checked => company == SimpleCart::Delivery.first || @order.delivery == company
|
51591
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml:36:in `block in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_delivery_html_haml___1082272580694243827_69863754924540'
|
51592
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `call'
|
51593
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
|
51594
|
+
haml (4.0.7) lib/haml/helpers.rb:278:in `with_tabs'
|
51595
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
|
51596
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51597
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51598
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51599
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51600
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51601
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:444:in `form_for'
|
51602
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
|
51603
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
|
51604
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml:27:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_delivery_html_haml___1082272580694243827_69863754924540'
|
51605
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
51606
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
51607
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51608
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51609
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
|
51610
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51611
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51612
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51613
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51614
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51615
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
|
51616
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
|
51617
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
51618
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
51619
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:46:in `render_template'
|
51620
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:27:in `render'
|
51621
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:100:in `_render_template'
|
51622
|
+
actionpack (4.2.5.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
51623
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:83:in `render_to_body'
|
51624
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
51625
|
+
actionpack (4.2.5.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
51626
|
+
actionpack (4.2.5.2) lib/abstract_controller/rendering.rb:25:in `render'
|
51627
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:16:in `render'
|
51628
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
51629
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
51630
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
51631
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
51632
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
51633
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
51634
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
51635
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
51636
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:29:in `render_step'
|
51637
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:11:in `render_wizard'
|
51638
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:23:in `show'
|
51639
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
51640
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
51641
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
51642
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
51643
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51644
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51645
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
51646
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51647
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51648
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
51649
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
51650
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51651
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
51652
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
51653
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
51654
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51655
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51656
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51657
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
51658
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
51659
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
51660
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
51661
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
51662
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
51663
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
51664
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
51665
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
51666
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
51667
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
51668
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51669
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51670
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51671
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51672
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51673
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
51674
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
51675
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
51676
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51677
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51678
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51679
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51680
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
51681
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
51682
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
51683
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
51684
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
51685
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
51686
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
51687
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
51688
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
51689
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
51690
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
51691
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
51692
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
51693
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
51694
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51695
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
51696
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
51697
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
51698
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51699
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
51700
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
51701
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
51702
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
51703
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
51704
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
51705
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
51706
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
51707
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
51708
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
51709
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
51710
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51711
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
51712
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
51713
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51714
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
51715
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51716
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
51717
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
51718
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
51719
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
51720
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
51721
|
+
|
51722
|
+
|
51723
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.3ms)
|
51724
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms)
|
51725
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.8ms)
|
51726
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.1ms)
|
51727
|
+
|
51728
|
+
|
51729
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:50:45 +0200
|
51730
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51731
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
51732
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51733
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.3ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51734
|
+
[1m[35mSimpleCart::BillingAddress Load (0.3ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51735
|
+
[1m[36mSimpleCart::CreditCard Load (0.2ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51736
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
51737
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"
|
51738
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
51739
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
51740
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.0ms)
|
51741
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (9.9ms)
|
51742
|
+
Completed 200 OK in 39ms (Views: 28.3ms | ActiveRecord: 1.2ms)
|
51743
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51744
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["company", "test"], ["costs", 2.0], ["created_at", "2016-03-14 18:51:18.885627"], ["updated_at", "2016-03-14 18:51:18.885627"]]
|
51745
|
+
[1m[35m (66.3ms)[0m commit transaction
|
51746
|
+
|
51747
|
+
|
51748
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:51:20 +0200
|
51749
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51750
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
51751
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51752
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51753
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51754
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51755
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.0ms)
|
51756
|
+
[1m[36mSimpleCart::Delivery Load (0.3ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
51757
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
51758
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
51759
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
51760
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.8ms)
|
51761
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (14.0ms)
|
51762
|
+
Completed 200 OK in 35ms (Views: 29.7ms | ActiveRecord: 1.2ms)
|
51763
|
+
|
51764
|
+
|
51765
|
+
Started PATCH "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:51:23 +0200
|
51766
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
51767
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"N45a3T5UB+2PTAqWJGJuLOR88LsFlNEaVytUsPg2Gy1f1B8fVWwHMINHzSq5hHzr3uDVM7Gbp6DGa4e+B8fUJA==", "order"=>{"delivery_id"=>"1"}, "commit"=>"Continue", "order_id"=>"1", "id"=>"delivery"}
|
51768
|
+
[1m[36mSimpleCart::Order Load (0.3ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51769
|
+
[1m[35mSimpleCart::Delivery Load (0.3ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
51770
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51771
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "simple_cart_orders" SET "delivery_id" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ? [["delivery_id", 1], ["updated_at", "2016-03-14 18:51:23.140432"], ["id", 1]]
|
51772
|
+
[1m[36m (49.4ms)[0m [1mcommit transaction[0m
|
51773
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/payment
|
51774
|
+
Completed 302 Found in 61ms (ActiveRecord: 50.5ms)
|
51775
|
+
|
51776
|
+
|
51777
|
+
Started GET "/simple_cart/orders/1/checkout/payment" for 127.0.0.1 at 2016-03-14 20:51:23 +0200
|
51778
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51779
|
+
Parameters: {"order_id"=>"1", "id"=>"payment"}
|
51780
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51781
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
51782
|
+
[1m[35mSimpleCart::BillingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51783
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51784
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51785
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
51786
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (11.8ms)
|
51787
|
+
Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.7ms)
|
51788
|
+
|
51789
|
+
ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::CreditCard):
|
51790
|
+
39: .row
|
51791
|
+
40: .col-xs-6
|
51792
|
+
41: = ff.label :expiration_month
|
51793
|
+
42: = ff.collection_select :expiration_month, CreditCard.months, :to_s, :to_s, {}, :class => 'form-control'
|
51794
|
+
43: .col-xs-6
|
51795
|
+
44: = ff.label :expiration_year
|
51796
|
+
45: = ff.collection_select :expiration_year, CreditCard.years, :to_s, :to_s, {}, :class => 'form-control'
|
51797
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml:42:in `block (2 levels) in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_payment_html_haml__3787437729566437831_69863719788700'
|
51798
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `call'
|
51799
|
+
haml (4.0.7) lib/haml/helpers.rb:368:in `block in capture_haml'
|
51800
|
+
haml (4.0.7) lib/haml/helpers.rb:608:in `with_haml_buffer'
|
51801
|
+
haml (4.0.7) lib/haml/helpers.rb:364:in `capture_haml'
|
51802
|
+
haml (4.0.7) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
|
51803
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
|
51804
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1925:in `block in fields_for_nested_model'
|
51805
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51806
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51807
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51808
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51809
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51810
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
|
51811
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1924:in `fields_for_nested_model'
|
51812
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1914:in `fields_for_with_nested_attributes'
|
51813
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:1582:in `fields_for'
|
51814
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml:34:in `block in __home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_payment_html_haml__3787437729566437831_69863719788700'
|
51815
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `call'
|
51816
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
|
51817
|
+
haml (4.0.7) lib/haml/helpers.rb:278:in `with_tabs'
|
51818
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
|
51819
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
|
51820
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
|
51821
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
|
51822
|
+
actionview (4.2.5.2) lib/action_view/helpers/capture_helper.rb:38:in `capture'
|
51823
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
|
51824
|
+
actionview (4.2.5.2) lib/action_view/helpers/form_helper.rb:444:in `form_for'
|
51825
|
+
haml (4.0.7) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
|
51826
|
+
haml (4.0.7) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
|
51827
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml:27:in `__home_leksster__uby__uby_arage__mazon_simple_cart_app_views_simple_cart_checkout_payment_html_haml__3787437729566437831_69863719788700'
|
51828
|
+
actionview (4.2.5.2) lib/action_view/template.rb:145:in `block in render'
|
51829
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:166:in `instrument'
|
51830
|
+
actionview (4.2.5.2) lib/action_view/template.rb:333:in `instrument'
|
51831
|
+
actionview (4.2.5.2) lib/action_view/template.rb:143:in `render'
|
51832
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
|
51833
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
|
51834
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51835
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51836
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51837
|
+
actionview (4.2.5.2) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
|
51838
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
|
51839
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
|
51840
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
|
51841
|
+
actionview (4.2.5.2) lib/action_view/renderer/template_renderer.rb:14:in `render'
|
51842
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:46:in `render_template'
|
51843
|
+
actionview (4.2.5.2) lib/action_view/renderer/renderer.rb:27:in `render'
|
51844
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:100:in `_render_template'
|
51845
|
+
actionpack (4.2.5.2) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
51846
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:83:in `render_to_body'
|
51847
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
51848
|
+
actionpack (4.2.5.2) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
51849
|
+
actionpack (4.2.5.2) lib/abstract_controller/rendering.rb:25:in `render'
|
51850
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:16:in `render'
|
51851
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
51852
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
51853
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
51854
|
+
activesupport (4.2.5.2) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
51855
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
51856
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
51857
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
51858
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
51859
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:29:in `render_step'
|
51860
|
+
wicked (1.2.1) lib/wicked/controller/concerns/render_redirect.rb:11:in `render_wizard'
|
51861
|
+
/home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/controllers/simple_cart/checkout_controller.rb:23:in `show'
|
51862
|
+
actionpack (4.2.5.2) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
51863
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:198:in `process_action'
|
51864
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
51865
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
51866
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51867
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:117:in `call'
|
51868
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
51869
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51870
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:505:in `call'
|
51871
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
51872
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
51873
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51874
|
+
actionpack (4.2.5.2) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
51875
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
51876
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
51877
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `block in instrument'
|
51878
|
+
activesupport (4.2.5.2) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
51879
|
+
activesupport (4.2.5.2) lib/active_support/notifications.rb:164:in `instrument'
|
51880
|
+
actionpack (4.2.5.2) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
51881
|
+
actionpack (4.2.5.2) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
51882
|
+
activerecord (4.2.5.2) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
51883
|
+
actionpack (4.2.5.2) lib/abstract_controller/base.rb:137:in `process'
|
51884
|
+
actionview (4.2.5.2) lib/action_view/rendering.rb:30:in `process'
|
51885
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:196:in `dispatch'
|
51886
|
+
actionpack (4.2.5.2) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
51887
|
+
actionpack (4.2.5.2) lib/action_controller/metal.rb:237:in `block in action'
|
51888
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `call'
|
51889
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
|
51890
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:43:in `serve'
|
51891
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51892
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51893
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51894
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51895
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51896
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `public_send'
|
51897
|
+
railties (4.2.5.2) lib/rails/railtie.rb:194:in `method_missing'
|
51898
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/mapper.rb:51:in `serve'
|
51899
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
51900
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `each'
|
51901
|
+
actionpack (4.2.5.2) lib/action_dispatch/journey/router.rb:30:in `serve'
|
51902
|
+
actionpack (4.2.5.2) lib/action_dispatch/routing/route_set.rb:815:in `call'
|
51903
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
51904
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
51905
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
51906
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
51907
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
51908
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
51909
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
51910
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
51911
|
+
activerecord (4.2.5.2) lib/active_record/query_cache.rb:36:in `call'
|
51912
|
+
activerecord (4.2.5.2) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
51913
|
+
activerecord (4.2.5.2) lib/active_record/migration.rb:377:in `call'
|
51914
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
51915
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
51916
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
51917
|
+
activesupport (4.2.5.2) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
51918
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
51919
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
51920
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
51921
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
51922
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
51923
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:38:in `call_app'
|
51924
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `block in call'
|
51925
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
51926
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:26:in `tagged'
|
51927
|
+
activesupport (4.2.5.2) lib/active_support/tagged_logging.rb:68:in `tagged'
|
51928
|
+
railties (4.2.5.2) lib/rails/rack/logger.rb:20:in `call'
|
51929
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
51930
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
51931
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
51932
|
+
activesupport (4.2.5.2) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
51933
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51934
|
+
actionpack (4.2.5.2) lib/action_dispatch/middleware/static.rb:116:in `call'
|
51935
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
51936
|
+
railties (4.2.5.2) lib/rails/engine.rb:518:in `call'
|
51937
|
+
railties (4.2.5.2) lib/rails/application.rb:165:in `call'
|
51938
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
51939
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
51940
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
51941
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
51942
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
51943
|
+
/home/leksster/.rvm/rubies/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
51944
|
+
|
51945
|
+
|
51946
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.4ms)
|
51947
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
|
51948
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms)
|
51949
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/actionpack-4.2.5.2/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (23.5ms)
|
51950
|
+
|
51951
|
+
|
51952
|
+
Started GET "/simple_cart/orders/1/checkout/payment" for 127.0.0.1 at 2016-03-14 20:51:40 +0200
|
51953
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51954
|
+
Parameters: {"order_id"=>"1", "id"=>"payment"}
|
51955
|
+
[1m[36mSimpleCart::Order Load (0.3ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51956
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
51957
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51958
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51959
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51960
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.9ms)
|
51961
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (17.3ms)
|
51962
|
+
Completed 200 OK in 42ms (Views: 35.4ms | ActiveRecord: 0.8ms)
|
51963
|
+
|
51964
|
+
|
51965
|
+
Started PATCH "/simple_cart/orders/1/checkout/payment" for 127.0.0.1 at 2016-03-14 20:51:47 +0200
|
51966
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
51967
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"/RPOUEOjuZ2SJKLmMSI+8pCGp8+1FiEGXHP16h4fFzmVSYuSKJu5QJ4vZVqsxCw1qhqCRwEZV7zNMybk4e7YMA==", "order"=>{"credit_card_attributes"=>{"number"=>"2222122222222222", "expiration_month"=>"01", "expiration_year"=>"2017", "cvv"=>"123", "firstname"=>"5215", "lastname"=>"521"}}, "commit"=>"Continue", "order_id"=>"1", "id"=>"payment"}
|
51968
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
51969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51970
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51971
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "simple_cart_credit_cards" ("number", "expiration_month", "expiration_year", "cvv", "firstname", "lastname", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "2222122222222222"], ["expiration_month", "01"], ["expiration_year", "2017"], ["cvv", "123"], ["firstname", "5215"], ["lastname", "521"], ["order_id", 1], ["created_at", "2016-03-14 18:51:47.137716"], ["updated_at", "2016-03-14 18:51:47.137716"]]
|
51972
|
+
[1m[35m (58.1ms)[0m commit transaction
|
51973
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
51974
|
+
[1m[35m (0.0ms)[0m commit transaction
|
51975
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/confirm
|
51976
|
+
Completed 302 Found in 70ms (ActiveRecord: 58.9ms)
|
51977
|
+
|
51978
|
+
|
51979
|
+
Started GET "/simple_cart/orders/1/checkout/confirm" for 127.0.0.1 at 2016-03-14 20:51:47 +0200
|
51980
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51981
|
+
Parameters: {"order_id"=>"1", "id"=>"confirm"}
|
51982
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
51983
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51984
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
51985
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
51986
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (0.9ms)
|
51987
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
51988
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_overview.html.haml (6.9ms)
|
51989
|
+
[1m[35mSimpleCart::OrderItem Exists (0.2ms)[0m SELECT 1 AS one FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? LIMIT 1 [["order_id", "1"]]
|
51990
|
+
[1m[36mSimpleCart::OrderItem Load (0.1ms)[0m [1mSELECT "simple_cart_order_items".* FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ?[0m [["order_id", "1"]]
|
51991
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
51992
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/confirm.html.haml within layouts/simple_cart/application (31.2ms)
|
51993
|
+
Completed 200 OK in 52ms (Views: 48.3ms | ActiveRecord: 0.8ms)
|
51994
|
+
|
51995
|
+
|
51996
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:51:50 +0200
|
51997
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
51998
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
51999
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
52000
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52001
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52002
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52003
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.3ms)
|
52004
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52005
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52006
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52007
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52008
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52009
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52010
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52011
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52012
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52013
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52014
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (7.9ms)
|
52015
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (18.2ms)
|
52016
|
+
Completed 200 OK in 37ms (Views: 33.8ms | ActiveRecord: 0.8ms)
|
52017
|
+
|
52018
|
+
|
52019
|
+
Started PATCH "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 20:51:51 +0200
|
52020
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52021
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"UGh80C891X4NACgZJpjUaoHMqxT4PFBpfl0nRi4C5gc4MjkSRAXVowEL76W7fsatu1COnEwzJtPvHfRI0fMpDg==", "order"=>{"delivery_id"=>"1"}, "commit"=>"Continue", "order_id"=>"1", "id"=>"delivery"}
|
52022
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
52023
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52025
|
+
[1m[35m (0.0ms)[0m commit transaction
|
52026
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/payment
|
52027
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
52028
|
+
|
52029
|
+
|
52030
|
+
Started GET "/simple_cart/orders/1/checkout/payment" for 127.0.0.1 at 2016-03-14 20:51:51 +0200
|
52031
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52032
|
+
Parameters: {"order_id"=>"1", "id"=>"payment"}
|
52033
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
52034
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52035
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52036
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52037
|
+
[1m[36mSimpleCart::CreditCard Load (0.0ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52038
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52039
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (9.2ms)
|
52040
|
+
Completed 200 OK in 28ms (Views: 24.9ms | ActiveRecord: 0.3ms)
|
52041
|
+
|
52042
|
+
|
52043
|
+
Started GET "/simple_cart/orders/1/checkout/confirm" for 127.0.0.1 at 2016-03-14 20:51:52 +0200
|
52044
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52045
|
+
Parameters: {"order_id"=>"1", "id"=>"confirm"}
|
52046
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
52047
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52048
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52049
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52050
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (0.9ms)
|
52051
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52052
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_overview.html.haml (5.7ms)
|
52053
|
+
[1m[36mSimpleCart::OrderItem Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? LIMIT 1[0m [["order_id", "1"]]
|
52054
|
+
[1m[35mSimpleCart::OrderItem Load (0.1ms)[0m SELECT "simple_cart_order_items".* FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? [["order_id", "1"]]
|
52055
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
52056
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/confirm.html.haml within layouts/simple_cart/application (18.6ms)
|
52057
|
+
Completed 200 OK in 38ms (Views: 33.6ms | ActiveRecord: 0.7ms)
|
52058
|
+
|
52059
|
+
|
52060
|
+
Started PATCH "/simple_cart/orders/1" for 127.0.0.1 at 2016-03-14 20:51:52 +0200
|
52061
|
+
Processing by SimpleCart::OrdersController#update as HTML
|
52062
|
+
Parameters: {"authenticity_token"=>"xGf7HzWTtR49xbQlXpjQT7Mnv87zWpLb4vEWge5NbwisPb7dXqu1wzHOc5nDfsKIibuaRkdV5GFzscWPEbygAQ==", "id"=>"1"}
|
52063
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
52064
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52065
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "simple_cart_orders" SET "aasm_state" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ? [["aasm_state", "in_queue"], ["updated_at", "2016-03-14 18:51:52.821847"], ["id", 1]]
|
52066
|
+
[1m[36m (222.2ms)[0m [1mcommit transaction[0m
|
52067
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52069
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "simple_cart_orders" SET "total_price" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ? [["total_price", 104504.0], ["updated_at", "2016-03-14 18:51:53.047051"], ["id", 1]]
|
52070
|
+
[1m[36m (65.9ms)[0m [1mcommit transaction[0m
|
52071
|
+
Redirected to http://localhost:3000/simple_cart/orders/1
|
52072
|
+
Completed 302 Found in 296ms (ActiveRecord: 288.9ms)
|
52073
|
+
|
52074
|
+
|
52075
|
+
Started GET "/simple_cart/orders/1" for 127.0.0.1 at 2016-03-14 20:51:53 +0200
|
52076
|
+
Processing by SimpleCart::OrdersController#show as HTML
|
52077
|
+
Parameters: {"id"=>"1"}
|
52078
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
52079
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52080
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52081
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52082
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52083
|
+
[1m[36mSimpleCart::OrderItem Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? LIMIT 1[0m [["order_id", "1"]]
|
52084
|
+
[1m[35mSimpleCart::OrderItem Load (0.1ms)[0m SELECT "simple_cart_order_items".* FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? [["order_id", "1"]]
|
52085
|
+
[1m[36mThing Load (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
52086
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/orders/show.html.haml within layouts/simple_cart/application (25.1ms)
|
52087
|
+
Completed 200 OK in 55ms (Views: 51.8ms | ActiveRecord: 0.9ms)
|
52088
|
+
|
52089
|
+
|
52090
|
+
Started GET "/simple_cart/orders/1/checkout" for 127.0.0.1 at 2016-03-14 20:52:00 +0200
|
52091
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
52092
|
+
Parameters: {"order_id"=>"1"}
|
52093
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
52094
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/billing
|
52095
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
52096
|
+
|
52097
|
+
|
52098
|
+
Started GET "/simple_cart/orders/1/checkout/billing" for 127.0.0.1 at 2016-03-14 20:52:00 +0200
|
52099
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52100
|
+
Parameters: {"order_id"=>"1", "id"=>"billing"}
|
52101
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
52102
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52103
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52104
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52105
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.7ms)
|
52106
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (7.4ms)
|
52107
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52108
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52109
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52110
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52111
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52112
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52113
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52114
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52115
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (4.2ms)
|
52116
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (18.3ms)
|
52117
|
+
Completed 200 OK in 39ms (Views: 35.4ms | ActiveRecord: 0.5ms)
|
52118
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52119
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "task"], ["costs", 120.0], ["created_at", "2016-03-14 19:03:42.834026"], ["updated_at", "2016-03-14 19:03:42.834026"]]
|
52120
|
+
[1m[36m (66.7ms)[0m [1mcommit transaction[0m
|
52121
|
+
|
52122
|
+
|
52123
|
+
Started PATCH "/simple_cart/orders/1/checkout/billing" for 127.0.0.1 at 2016-03-14 21:03:53 +0200
|
52124
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52125
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qmjs/o1tCnGa/raA6+gkbmIwJg0TNCMRyvyyMfCjRGnCMqk85lUKrJb1cTx2DjapWKwDhac7VatbvGE/D1KLYA==", "order"=>{"billing_address_attributes"=>{"firstname"=>"fsa", "lastname"=>"gsgsa", "address"=>"sasgaasg", "zipcode"=>"saggsasga", "city"=>"gasgsa", "phone"=>"251", "country"=>"Afghanistan", "id"=>"1"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"1", "id"=>"billing"}
|
52126
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 1]]
|
52127
|
+
Unpermitted parameter: id
|
52128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52129
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52130
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."id" = ? [["id", 1]]
|
52131
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "simple_cart_addresses" ("type", "firstname", "lastname", "address", "zipcode", "city", "phone", "country", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "SimpleCart::BillingAddress"], ["firstname", "fsa"], ["lastname", "gsgsa"], ["address", "sasgaasg"], ["zipcode", "saggsasga"], ["city", "gasgsa"], ["phone", "251"], ["country", "Afghanistan"], ["order_id", 1], ["created_at", "2016-03-14 19:03:53.102920"], ["updated_at", "2016-03-14 19:03:53.102920"]]
|
52132
|
+
[1m[35m (79.6ms)[0m commit transaction
|
52133
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.3ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52134
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52135
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."id" = ?[0m [["id", 2]]
|
52136
|
+
[1m[35m (108.2ms)[0m commit transaction
|
52137
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52138
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_addresses" ("type", "order_id", "address", "zipcode", "city", "phone", "country", "created_at", "updated_at", "firstname", "lastname") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "SimpleCart::ShippingAddress"], ["order_id", 1], ["address", "sasgaasg"], ["zipcode", "saggsasga"], ["city", "gasgsa"], ["phone", "251"], ["country", "Afghanistan"], ["created_at", "2016-03-14 19:03:53.102920"], ["updated_at", "2016-03-14 19:03:53.102920"], ["firstname", "fsa"], ["lastname", "gsgsa"]]
|
52139
|
+
[1m[36m (165.3ms)[0m [1mcommit transaction[0m
|
52140
|
+
Redirected to http://localhost:3000/simple_cart/orders/1/checkout/delivery
|
52141
|
+
Completed 302 Found in 409ms (ActiveRecord: 355.7ms)
|
52142
|
+
|
52143
|
+
|
52144
|
+
Started GET "/simple_cart/orders/1/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:03:53 +0200
|
52145
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52146
|
+
Parameters: {"order_id"=>"1", "id"=>"delivery"}
|
52147
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 1]]
|
52148
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52149
|
+
[1m[35mSimpleCart::BillingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 1]]
|
52150
|
+
[1m[36mSimpleCart::CreditCard Load (0.2ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 1]]
|
52151
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.4ms)
|
52152
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"
|
52153
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52154
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52155
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52156
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52157
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52158
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52159
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52160
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 1]]
|
52161
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52162
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "1"]]
|
52163
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 1]]
|
52164
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (5.0ms)
|
52165
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (18.1ms)
|
52166
|
+
Completed 200 OK in 52ms (Views: 36.1ms | ActiveRecord: 1.9ms)
|
52167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52168
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "SSSS"], ["costs", 120.0], ["created_at", "2016-03-14 19:12:21.306346"], ["updated_at", "2016-03-14 19:12:21.306346"]]
|
52169
|
+
[1m[36m (59.3ms)[0m [1mcommit transaction[0m
|
52170
|
+
|
52171
|
+
|
52172
|
+
Started GET "/" for 127.0.0.1 at 2016-03-14 21:12:32 +0200
|
52173
|
+
Processing by Rails::WelcomeController#index as HTML
|
52174
|
+
Rendered /home/leksster/.rvm/gems/ruby-2.2.2/gems/railties-4.2.5.2/lib/rails/templates/rails/welcome/index.html.erb (0.6ms)
|
52175
|
+
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
52176
|
+
|
52177
|
+
|
52178
|
+
Started GET "/simple_cart/cart" for 127.0.0.1 at 2016-03-14 21:12:37 +0200
|
52179
|
+
Processing by SimpleCart::CartsController#show as HTML
|
52180
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
52181
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", "1"]]
|
52182
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
52183
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/carts/show.html.haml within layouts/simple_cart/application (12.9ms)
|
52184
|
+
Completed 200 OK in 41ms (Views: 38.6ms | ActiveRecord: 0.5ms)
|
52185
|
+
|
52186
|
+
|
52187
|
+
Started POST "/simple_cart/cart/checkout" for 127.0.0.1 at 2016-03-14 21:12:38 +0200
|
52188
|
+
Processing by SimpleCart::CartsController#checkout as HTML
|
52189
|
+
Parameters: {"authenticity_token"=>"DtW+5mULxDhy2/uGvuViqkYdjS2rML5CWg6Xpi8DnWdmj/skDjPE5X7QPDojA3BtfIGopR8/yPjLTkSo0PJSbg=="}
|
52190
|
+
[1m[36mThing Load (0.1ms)[0m [1mSELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1[0m [["id", 1]]
|
52191
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", "1"]]
|
52192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52193
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_orders" ("total_price", "completed_date", "aasm_state", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["total_price", 104502.0], ["completed_date", "2016-03-14"], ["aasm_state", "in_progress"], ["created_at", "2016-03-14 19:12:38.802472"], ["updated_at", "2016-03-14 19:12:38.802472"]]
|
52194
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "simple_cart_order_items" ("price", "qty", "itemable_id", "itemable_type", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["price", 52251.0], ["qty", 2], ["itemable_id", 1], ["itemable_type", "Thing"], ["order_id", "2"], ["created_at", "2016-03-14 19:12:38.804257"], ["updated_at", "2016-03-14 19:12:38.804257"]]
|
52195
|
+
[1m[35m (46.6ms)[0m commit transaction
|
52196
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout
|
52197
|
+
Completed 302 Found in 67ms (ActiveRecord: 47.7ms)
|
52198
|
+
|
52199
|
+
|
52200
|
+
Started GET "/simple_cart/orders/2/checkout" for 127.0.0.1 at 2016-03-14 21:12:38 +0200
|
52201
|
+
Processing by SimpleCart::CheckoutController#index as HTML
|
52202
|
+
Parameters: {"order_id"=>"2"}
|
52203
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52204
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout/billing
|
52205
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.1ms)
|
52206
|
+
|
52207
|
+
|
52208
|
+
Started GET "/simple_cart/orders/2/checkout/billing" for 127.0.0.1 at 2016-03-14 21:12:38 +0200
|
52209
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52210
|
+
Parameters: {"order_id"=>"2", "id"=>"billing"}
|
52211
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52212
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52213
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52214
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52215
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (0.9ms)
|
52216
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_address.html.haml (8.9ms)
|
52217
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52218
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52219
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.2ms)
|
52220
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/billing.html.haml within layouts/simple_cart/application (15.8ms)
|
52221
|
+
Completed 200 OK in 39ms (Views: 33.2ms | ActiveRecord: 0.4ms)
|
52222
|
+
|
52223
|
+
|
52224
|
+
Started PATCH "/simple_cart/orders/2/checkout/billing" for 127.0.0.1 at 2016-03-14 21:12:43 +0200
|
52225
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52226
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"enJXAAl73af9Cwyc9px/WH9fmguv9hU4Ht5rYEpQy+8SKBLCYkPdevEAyyBrem2fRcO/gxv5Y4KPnrhutaEE5g==", "order"=>{"billing_address_attributes"=>{"firstname"=>"fsdag", "lastname"=>"sdgs", "address"=>"dgsd", "zipcode"=>"gsdg", "city"=>"sdgsd", "phone"=>"sdg", "country"=>"Afghanistan"}}, "shipping"=>{"use_billing_address"=>"true"}, "commit"=>"Save and continue", "order_id"=>"2", "id"=>"billing"}
|
52227
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52228
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52229
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52230
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "simple_cart_addresses" ("type", "firstname", "lastname", "address", "zipcode", "city", "phone", "country", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "SimpleCart::BillingAddress"], ["firstname", "fsdag"], ["lastname", "sdgs"], ["address", "dgsd"], ["zipcode", "gsdg"], ["city", "sdgsd"], ["phone", "sdg"], ["country", "Afghanistan"], ["order_id", 2], ["created_at", "2016-03-14 19:12:43.659410"], ["updated_at", "2016-03-14 19:12:43.659410"]]
|
52231
|
+
[1m[35m (255.4ms)[0m commit transaction
|
52232
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52233
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52234
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "simple_cart_addresses" ("type", "order_id", "address", "zipcode", "city", "phone", "country", "created_at", "updated_at", "firstname", "lastname") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "SimpleCart::ShippingAddress"], ["order_id", 2], ["address", "dgsd"], ["zipcode", "gsdg"], ["city", "sdgsd"], ["phone", "sdg"], ["country", "Afghanistan"], ["created_at", "2016-03-14 19:12:43.659410"], ["updated_at", "2016-03-14 19:12:43.659410"], ["firstname", "fsdag"], ["lastname", "sdgs"]]
|
52235
|
+
[1m[35m (300.3ms)[0m commit transaction
|
52236
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout/delivery
|
52237
|
+
Completed 302 Found in 571ms (ActiveRecord: 556.8ms)
|
52238
|
+
|
52239
|
+
|
52240
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:12:44 +0200
|
52241
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52242
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52243
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52244
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52245
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52246
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52247
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.4ms)
|
52248
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52249
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52250
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52251
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52252
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52253
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52254
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.0ms)
|
52255
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (10.0ms)
|
52256
|
+
Completed 200 OK in 35ms (Views: 29.1ms | ActiveRecord: 1.0ms)
|
52257
|
+
|
52258
|
+
|
52259
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:13:14 +0200
|
52260
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52261
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52262
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52263
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52264
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52265
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52266
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.7ms)
|
52267
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52268
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52269
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52270
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52271
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52272
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52273
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (0.9ms)
|
52274
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (8.8ms)
|
52275
|
+
Completed 200 OK in 34ms (Views: 27.0ms | ActiveRecord: 0.8ms)
|
52276
|
+
|
52277
|
+
|
52278
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:13:15 +0200
|
52279
|
+
|
52280
|
+
|
52281
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:13:15 +0200
|
52282
|
+
|
52283
|
+
|
52284
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:13:15 +0200
|
52285
|
+
|
52286
|
+
|
52287
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:13:15 +0200
|
52288
|
+
|
52289
|
+
|
52290
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:13:15 +0200
|
52291
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52292
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "sag"], ["costs", nil], ["created_at", "2016-03-14 19:14:22.633255"], ["updated_at", "2016-03-14 19:14:22.633255"]]
|
52293
|
+
[1m[36m (63.9ms)[0m [1mcommit transaction[0m
|
52294
|
+
|
52295
|
+
|
52296
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52297
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52298
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52299
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52300
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52301
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52302
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52303
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.3ms)
|
52304
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52305
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52306
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52307
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52308
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52309
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52310
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52311
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.2ms)
|
52312
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (10.7ms)
|
52313
|
+
Completed 200 OK in 34ms (Views: 28.5ms | ActiveRecord: 1.1ms)
|
52314
|
+
|
52315
|
+
|
52316
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52317
|
+
|
52318
|
+
|
52319
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52320
|
+
|
52321
|
+
|
52322
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52323
|
+
|
52324
|
+
|
52325
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52326
|
+
|
52327
|
+
|
52328
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:27 +0200
|
52329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52330
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "sag"], ["costs", 12.0], ["created_at", "2016-03-14 19:14:53.345336"], ["updated_at", "2016-03-14 19:14:53.345336"]]
|
52331
|
+
[1m[36m (62.9ms)[0m [1mcommit transaction[0m
|
52332
|
+
|
52333
|
+
|
52334
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52335
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52336
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52337
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52338
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52339
|
+
[1m[35mSimpleCart::BillingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52340
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52341
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.4ms)
|
52342
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"
|
52343
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52344
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52345
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52346
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52347
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52348
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52349
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52350
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (0.9ms)
|
52351
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (10.7ms)
|
52352
|
+
Completed 200 OK in 34ms (Views: 27.2ms | ActiveRecord: 1.1ms)
|
52353
|
+
|
52354
|
+
|
52355
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52356
|
+
|
52357
|
+
|
52358
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52359
|
+
|
52360
|
+
|
52361
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52362
|
+
|
52363
|
+
|
52364
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52365
|
+
|
52366
|
+
|
52367
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:14:54 +0200
|
52368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52369
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "New"], ["costs", 125.0], ["created_at", "2016-03-14 19:16:51.993013"], ["updated_at", "2016-03-14 19:16:51.993013"]]
|
52370
|
+
[1m[36m (63.7ms)[0m [1mcommit transaction[0m
|
52371
|
+
|
52372
|
+
|
52373
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52374
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52375
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52376
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52377
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.3ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52378
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52379
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52380
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.9ms)
|
52381
|
+
[1m[35mSimpleCart::Delivery Load (0.3ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"
|
52382
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52383
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52384
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52385
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52386
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52387
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52388
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52389
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52390
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.1ms)
|
52391
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (13.3ms)
|
52392
|
+
Completed 200 OK in 34ms (Views: 29.0ms | ActiveRecord: 1.1ms)
|
52393
|
+
|
52394
|
+
|
52395
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52396
|
+
|
52397
|
+
|
52398
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52399
|
+
|
52400
|
+
|
52401
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52402
|
+
|
52403
|
+
|
52404
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52405
|
+
|
52406
|
+
|
52407
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:17:01 +0200
|
52408
|
+
|
52409
|
+
|
52410
|
+
Started PATCH "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:17:04 +0200
|
52411
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52412
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"6DOXam8ErtxYRomDfY+GvG6UnorYMrzoaWzyjHVLwjyAadKoBDyuAVRNTj/gaZR7VAi7Amw9ylL4LCGCiroNNQ==", "order"=>{"delivery_id"=>"6"}, "commit"=>"Continue", "order_id"=>"2", "id"=>"delivery"}
|
52413
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52414
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52416
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "simple_cart_orders" SET "delivery_id" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ? [["delivery_id", 6], ["updated_at", "2016-03-14 19:17:04.292802"], ["id", 2]]
|
52417
|
+
[1m[36m (48.9ms)[0m [1mcommit transaction[0m
|
52418
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout/payment
|
52419
|
+
Completed 302 Found in 57ms (ActiveRecord: 49.6ms)
|
52420
|
+
|
52421
|
+
|
52422
|
+
Started GET "/simple_cart/orders/2/checkout/payment" for 127.0.0.1 at 2016-03-14 21:17:04 +0200
|
52423
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52424
|
+
Parameters: {"order_id"=>"2", "id"=>"payment"}
|
52425
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52426
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52427
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52428
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52429
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52430
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52431
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (7.1ms)
|
52432
|
+
Completed 200 OK in 28ms (Views: 23.4ms | ActiveRecord: 0.6ms)
|
52433
|
+
|
52434
|
+
|
52435
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:17:05 +0200
|
52436
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52437
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52438
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52439
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52440
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52441
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52442
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.0ms)
|
52443
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52444
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52445
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52446
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52447
|
+
[1m[36mCACHE (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52448
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52449
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52450
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52451
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52452
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52453
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52454
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52455
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52456
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52457
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52458
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52459
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (4.5ms)
|
52460
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (18.1ms)
|
52461
|
+
Completed 200 OK in 49ms (Views: 44.6ms | ActiveRecord: 1.1ms)
|
52462
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52463
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "News"], ["costs", 125.0], ["created_at", "2016-03-14 19:17:11.504819"], ["updated_at", "2016-03-14 19:17:11.504819"]]
|
52464
|
+
[1m[36m (49.6ms)[0m [1mcommit transaction[0m
|
52465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52466
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "News"], ["costs", 125.0], ["created_at", "2016-03-14 19:17:35.988845"], ["updated_at", "2016-03-14 19:17:35.988845"]]
|
52467
|
+
[1m[36m (47.5ms)[0m [1mcommit transaction[0m
|
52468
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."company" = ? LIMIT 1[0m [["company", "News"]]
|
52469
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52470
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ?[0m [["id", 7]]
|
52471
|
+
[1m[35m (61.3ms)[0m commit transaction
|
52472
|
+
|
52473
|
+
|
52474
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52475
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52476
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52477
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52478
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52479
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52480
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52481
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52482
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52483
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52484
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52485
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52486
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52487
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52488
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52489
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52490
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52491
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52492
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52493
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52494
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52495
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52496
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52497
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52498
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52499
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (4.4ms)
|
52500
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (14.1ms)
|
52501
|
+
Completed 200 OK in 46ms (Views: 39.3ms | ActiveRecord: 1.2ms)
|
52502
|
+
|
52503
|
+
|
52504
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52505
|
+
|
52506
|
+
|
52507
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52508
|
+
|
52509
|
+
|
52510
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52511
|
+
|
52512
|
+
|
52513
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52514
|
+
|
52515
|
+
|
52516
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:00 +0200
|
52517
|
+
|
52518
|
+
|
52519
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52520
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52521
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52522
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52523
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52524
|
+
[1m[35mSimpleCart::BillingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52525
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52526
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (2.1ms)
|
52527
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"
|
52528
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52529
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52530
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52531
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52532
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52533
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52534
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52535
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52536
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52537
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52538
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52539
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52540
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52541
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52542
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52543
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52544
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (4.4ms)
|
52545
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (16.1ms)
|
52546
|
+
Completed 200 OK in 38ms (Views: 32.7ms | ActiveRecord: 1.0ms)
|
52547
|
+
|
52548
|
+
|
52549
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52550
|
+
|
52551
|
+
|
52552
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52553
|
+
|
52554
|
+
|
52555
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52556
|
+
|
52557
|
+
|
52558
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52559
|
+
|
52560
|
+
|
52561
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:02 +0200
|
52562
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."company" = ? LIMIT 1[0m [["company", "News"]]
|
52563
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52564
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ?[0m [["id", 8]]
|
52565
|
+
[1m[35m (70.7ms)[0m commit transaction
|
52566
|
+
|
52567
|
+
|
52568
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52569
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52570
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52571
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52572
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52573
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52574
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52575
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.6ms)
|
52576
|
+
[1m[36mSimpleCart::Delivery Load (0.3ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52577
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52578
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52579
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52580
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52581
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52582
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52583
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52584
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52585
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52586
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52587
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52588
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52589
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52590
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52591
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52592
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (3.6ms)
|
52593
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (15.3ms)
|
52594
|
+
Completed 200 OK in 38ms (Views: 31.1ms | ActiveRecord: 1.2ms)
|
52595
|
+
|
52596
|
+
|
52597
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52598
|
+
|
52599
|
+
|
52600
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52601
|
+
|
52602
|
+
|
52603
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52604
|
+
|
52605
|
+
|
52606
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52607
|
+
|
52608
|
+
|
52609
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:18 +0200
|
52610
|
+
|
52611
|
+
|
52612
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52613
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52614
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52615
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52616
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52617
|
+
[1m[36mSimpleCart::BillingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52618
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52619
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.6ms)
|
52620
|
+
[1m[36mSimpleCart::Delivery Load (0.3ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52621
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52622
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52623
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52624
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52625
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52626
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52627
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52628
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52629
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52630
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52631
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52632
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52633
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52634
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52635
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52636
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (5.8ms)
|
52637
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (20.6ms)
|
52638
|
+
Completed 200 OK in 50ms (Views: 41.6ms | ActiveRecord: 1.5ms)
|
52639
|
+
|
52640
|
+
|
52641
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52642
|
+
|
52643
|
+
|
52644
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52645
|
+
|
52646
|
+
|
52647
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52648
|
+
|
52649
|
+
|
52650
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52651
|
+
|
52652
|
+
|
52653
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:20 +0200
|
52654
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."company" = ? LIMIT 1[0m [["company", "New"]]
|
52655
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52656
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ?[0m [["id", 6]]
|
52657
|
+
[1m[35m (59.1ms)[0m commit transaction
|
52658
|
+
|
52659
|
+
|
52660
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52661
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52662
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52663
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52664
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52665
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52666
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52667
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52668
|
+
[1m[36mSimpleCart::Delivery Load (0.4ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52669
|
+
[1m[35mSimpleCart::Delivery Load (0.2ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52670
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52671
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52672
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52673
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52674
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1[0m
|
52675
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52676
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52677
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52678
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.6ms)
|
52679
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (12.5ms)
|
52680
|
+
Completed 200 OK in 34ms (Views: 29.0ms | ActiveRecord: 1.2ms)
|
52681
|
+
|
52682
|
+
|
52683
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52684
|
+
|
52685
|
+
|
52686
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52687
|
+
|
52688
|
+
|
52689
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52690
|
+
|
52691
|
+
|
52692
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52693
|
+
|
52694
|
+
|
52695
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:27 +0200
|
52696
|
+
[1m[36mSQL (81.8ms)[0m [1mDELETE FROM "simple_cart_deliveries"[0m
|
52697
|
+
|
52698
|
+
|
52699
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:19:58 +0200
|
52700
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52701
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52702
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52703
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52704
|
+
[1m[36mSimpleCart::BillingAddress Load (0.3ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52705
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52706
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52707
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52708
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52709
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52710
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 6]]
|
52711
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.4ms)
|
52712
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (5.4ms)
|
52713
|
+
Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 0.9ms)
|
52714
|
+
|
52715
|
+
|
52716
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:19:59 +0200
|
52717
|
+
|
52718
|
+
|
52719
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:59 +0200
|
52720
|
+
|
52721
|
+
|
52722
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:59 +0200
|
52723
|
+
|
52724
|
+
|
52725
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:59 +0200
|
52726
|
+
|
52727
|
+
|
52728
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:19:59 +0200
|
52729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52730
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "simple_cart_deliveries" ("company", "costs", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["company", "UPS"], ["costs", 20.0], ["created_at", "2016-03-14 19:20:26.585099"], ["updated_at", "2016-03-14 19:20:26.585099"]]
|
52731
|
+
[1m[36m (50.7ms)[0m [1mcommit transaction[0m
|
52732
|
+
|
52733
|
+
|
52734
|
+
Started GET "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:20:30 +0200
|
52735
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52736
|
+
Parameters: {"order_id"=>"2", "id"=>"delivery"}
|
52737
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52738
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52739
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52740
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52741
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.2ms)
|
52742
|
+
[1m[36mSimpleCart::Delivery Load (0.2ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries"[0m
|
52743
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" ORDER BY "simple_cart_deliveries"."id" ASC LIMIT 1
|
52744
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", "2"]]
|
52745
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", "2"]]
|
52746
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 6]]
|
52747
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_summary.html.haml (1.9ms)
|
52748
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/delivery.html.haml within layouts/simple_cart/application (7.6ms)
|
52749
|
+
Completed 200 OK in 29ms (Views: 24.2ms | ActiveRecord: 0.9ms)
|
52750
|
+
|
52751
|
+
|
52752
|
+
Started GET "/assets/simple_cart/application.self-2f12d59583468bdcee27c6046669f62a778d265fc91cf385e5d36e9189ac822e.css?body=1" for 127.0.0.1 at 2016-03-14 21:20:31 +0200
|
52753
|
+
|
52754
|
+
|
52755
|
+
Started GET "/assets/jquery.self-660adc51e0224b731d29f575a6f1ec167ba08ad06ed5deca4f1e8654c135bf4c.js?body=1" for 127.0.0.1 at 2016-03-14 21:20:31 +0200
|
52756
|
+
|
52757
|
+
|
52758
|
+
Started GET "/assets/turbolinks.self-c37727e9bd6b2735da5c311aa83fead54ed0be6cc8bd9a65309e9c5abe2cbfff.js?body=1" for 127.0.0.1 at 2016-03-14 21:20:31 +0200
|
52759
|
+
|
52760
|
+
|
52761
|
+
Started GET "/assets/jquery_ujs.self-e87806d0cf4489aeb1bb7288016024e8de67fd18db693fe026fe3907581e53cd.js?body=1" for 127.0.0.1 at 2016-03-14 21:20:31 +0200
|
52762
|
+
|
52763
|
+
|
52764
|
+
Started GET "/assets/simple_cart/application.self-3b8dabdc891efe46b9a144b400ad69e37d7e5876bdc39dee783419a69d7ca819.js?body=1" for 127.0.0.1 at 2016-03-14 21:20:31 +0200
|
52765
|
+
|
52766
|
+
|
52767
|
+
Started PATCH "/simple_cart/orders/2/checkout/delivery" for 127.0.0.1 at 2016-03-14 21:20:32 +0200
|
52768
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52769
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"hTT4hg5HdlSPdWXxBP3C/C3EFuYfmBC88GQSbYsxdXztbr1EZX92iYN+ok2ZG9A7F1gzbquXZgZhJMFjdMC6dQ==", "order"=>{"delivery_id"=>"9"}, "commit"=>"Continue", "order_id"=>"2", "id"=>"delivery"}
|
52770
|
+
[1m[35mSimpleCart::Order Load (0.5ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52771
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 9]]
|
52772
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52773
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "simple_cart_orders" SET "delivery_id" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ?[0m [["delivery_id", 9], ["updated_at", "2016-03-14 19:20:32.348577"], ["id", 2]]
|
52774
|
+
[1m[35m (78.4ms)[0m commit transaction
|
52775
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout/payment
|
52776
|
+
Completed 302 Found in 84ms (ActiveRecord: 79.3ms)
|
52777
|
+
|
52778
|
+
|
52779
|
+
Started GET "/simple_cart/orders/2/checkout/payment" for 127.0.0.1 at 2016-03-14 21:20:32 +0200
|
52780
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52781
|
+
Parameters: {"order_id"=>"2", "id"=>"payment"}
|
52782
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52783
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 9]]
|
52784
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52785
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52786
|
+
[1m[36mSimpleCart::CreditCard Load (0.0ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52787
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.0ms)
|
52788
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/payment.html.haml within layouts/simple_cart/application (7.2ms)
|
52789
|
+
Completed 200 OK in 38ms (Views: 33.5ms | ActiveRecord: 0.5ms)
|
52790
|
+
|
52791
|
+
|
52792
|
+
Started PATCH "/simple_cart/orders/2/checkout/payment" for 127.0.0.1 at 2016-03-14 21:20:39 +0200
|
52793
|
+
Processing by SimpleCart::CheckoutController#update as HTML
|
52794
|
+
Parameters: {"utf8"=>"✓", "authenticity_token"=>"oKAXENP7Tja/0QOHB0lTyUH4UpdVuS9T88uszbVD2tbI+lLSuMNO67PaxDuar0EOe2R3H+G2Welii3/DSrIV3w==", "order"=>{"credit_card_attributes"=>{"number"=>"1111111111111111", "expiration_month"=>"01", "expiration_year"=>"2017", "cvv"=>"252", "firstname"=>"125", "lastname"=>"125"}}, "commit"=>"Continue", "order_id"=>"2", "id"=>"payment"}
|
52795
|
+
[1m[35mSimpleCart::Order Load (0.2ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1 [["id", 2]]
|
52796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52797
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52798
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "simple_cart_credit_cards" ("number", "expiration_month", "expiration_year", "cvv", "firstname", "lastname", "order_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["number", "1111111111111111"], ["expiration_month", "01"], ["expiration_year", "2017"], ["cvv", "252"], ["firstname", "125"], ["lastname", "125"], ["order_id", 2], ["created_at", "2016-03-14 19:20:39.319648"], ["updated_at", "2016-03-14 19:20:39.319648"]]
|
52799
|
+
[1m[35m (72.0ms)[0m commit transaction
|
52800
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52801
|
+
[1m[35m (0.1ms)[0m commit transaction
|
52802
|
+
Redirected to http://localhost:3000/simple_cart/orders/2/checkout/confirm
|
52803
|
+
Completed 302 Found in 81ms (ActiveRecord: 72.9ms)
|
52804
|
+
|
52805
|
+
|
52806
|
+
Started GET "/simple_cart/orders/2/checkout/confirm" for 127.0.0.1 at 2016-03-14 21:20:39 +0200
|
52807
|
+
Processing by SimpleCart::CheckoutController#show as HTML
|
52808
|
+
Parameters: {"order_id"=>"2", "id"=>"confirm"}
|
52809
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52810
|
+
[1m[35mSimpleCart::CreditCard Load (0.1ms)[0m SELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52811
|
+
[1m[36mSimpleCart::BillingAddress Load (0.1ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52812
|
+
[1m[35mSimpleCart::ShippingAddress Load (0.1ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52813
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_progress.html.haml (1.1ms)
|
52814
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 9]]
|
52815
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/_overview.html.haml (2.3ms)
|
52816
|
+
[1m[35mSimpleCart::OrderItem Exists (0.2ms)[0m SELECT 1 AS one FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? LIMIT 1 [["order_id", "2"]]
|
52817
|
+
[1m[36mSimpleCart::OrderItem Load (0.2ms)[0m [1mSELECT "simple_cart_order_items".* FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ?[0m [["order_id", "2"]]
|
52818
|
+
[1m[35mThing Load (0.1ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
52819
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/checkout/confirm.html.haml within layouts/simple_cart/application (12.6ms)
|
52820
|
+
Completed 200 OK in 33ms (Views: 28.9ms | ActiveRecord: 0.9ms)
|
52821
|
+
|
52822
|
+
|
52823
|
+
Started PATCH "/simple_cart/orders/2" for 127.0.0.1 at 2016-03-14 21:20:41 +0200
|
52824
|
+
Processing by SimpleCart::OrdersController#update as HTML
|
52825
|
+
Parameters: {"authenticity_token"=>"LEcDnLGFQJu/WJurW5Q0105VrccnJ7aLG+BHcX8dYmpEHUZe2r1ARrNTXBfGciYQdMmIT5MowDGKoJR/gOytYw==", "id"=>"2"}
|
52826
|
+
[1m[36mSimpleCart::Order Load (0.1ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52828
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "simple_cart_orders" SET "aasm_state" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ?[0m [["aasm_state", "in_queue"], ["updated_at", "2016-03-14 19:20:41.545591"], ["id", 2]]
|
52829
|
+
[1m[35m (51.9ms)[0m commit transaction
|
52830
|
+
[1m[36mSimpleCart::Delivery Load (0.1ms)[0m [1mSELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1[0m [["id", 9]]
|
52831
|
+
[1m[35m (0.1ms)[0m begin transaction
|
52832
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "simple_cart_orders" SET "total_price" = ?, "updated_at" = ? WHERE "simple_cart_orders"."id" = ?[0m [["total_price", 104522.0], ["updated_at", "2016-03-14 19:20:41.600398"], ["id", 2]]
|
52833
|
+
[1m[35m (329.0ms)[0m commit transaction
|
52834
|
+
Redirected to http://localhost:3000/simple_cart/orders/2
|
52835
|
+
Completed 302 Found in 391ms (ActiveRecord: 381.6ms)
|
52836
|
+
|
52837
|
+
|
52838
|
+
Started GET "/simple_cart/orders/2" for 127.0.0.1 at 2016-03-14 21:20:41 +0200
|
52839
|
+
Processing by SimpleCart::OrdersController#show as HTML
|
52840
|
+
Parameters: {"id"=>"2"}
|
52841
|
+
[1m[36mSimpleCart::Order Load (0.2ms)[0m [1mSELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."id" = ? LIMIT 1[0m [["id", 2]]
|
52842
|
+
[1m[35mSimpleCart::BillingAddress Load (0.2ms)[0m SELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::BillingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1 [["order_id", 2]]
|
52843
|
+
[1m[36mSimpleCart::ShippingAddress Load (0.2ms)[0m [1mSELECT "simple_cart_addresses".* FROM "simple_cart_addresses" WHERE "simple_cart_addresses"."type" IN ('SimpleCart::ShippingAddress') AND "simple_cart_addresses"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52844
|
+
[1m[35mSimpleCart::Delivery Load (0.1ms)[0m SELECT "simple_cart_deliveries".* FROM "simple_cart_deliveries" WHERE "simple_cart_deliveries"."id" = ? LIMIT 1 [["id", 9]]
|
52845
|
+
[1m[36mSimpleCart::CreditCard Load (0.1ms)[0m [1mSELECT "simple_cart_credit_cards".* FROM "simple_cart_credit_cards" WHERE "simple_cart_credit_cards"."order_id" = ? LIMIT 1[0m [["order_id", 2]]
|
52846
|
+
[1m[35mSimpleCart::OrderItem Exists (0.1ms)[0m SELECT 1 AS one FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ? LIMIT 1 [["order_id", "2"]]
|
52847
|
+
[1m[36mSimpleCart::OrderItem Load (0.1ms)[0m [1mSELECT "simple_cart_order_items".* FROM "simple_cart_order_items" WHERE "simple_cart_order_items"."order_id" = ?[0m [["order_id", "2"]]
|
52848
|
+
[1m[35mThing Load (0.0ms)[0m SELECT "things".* FROM "things" WHERE "things"."id" = ? LIMIT 1 [["id", 1]]
|
52849
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/orders/show.html.haml within layouts/simple_cart/application (10.5ms)
|
52850
|
+
Completed 200 OK in 31ms (Views: 28.7ms | ActiveRecord: 1.0ms)
|
52851
|
+
|
52852
|
+
|
52853
|
+
Started GET "/simple_cart/orders" for 127.0.0.1 at 2016-03-14 21:20:43 +0200
|
52854
|
+
Processing by SimpleCart::OrdersController#index as HTML
|
52855
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "simple_cart_orders"[0m
|
52856
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "simple_cart_orders" WHERE "simple_cart_orders"."aasm_state" = ? [["aasm_state", "in_progress"]]
|
52857
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "simple_cart_orders" WHERE "simple_cart_orders"."aasm_state" = ?[0m [["aasm_state", "in_queue"]]
|
52858
|
+
[1m[35mSimpleCart::Order Load (0.1ms)[0m SELECT "simple_cart_orders".* FROM "simple_cart_orders" WHERE "simple_cart_orders"."aasm_state" = ? ORDER BY "simple_cart_orders"."id" DESC [["aasm_state", "in_queue"]]
|
52859
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "simple_cart_orders" WHERE "simple_cart_orders"."aasm_state" = ?[0m [["aasm_state", "delivered"]]
|
52860
|
+
Rendered /home/leksster/Ruby/RubyGarage/Amazon/simple_cart/app/views/simple_cart/orders/index.html.haml within layouts/simple_cart/application (14.0ms)
|
52861
|
+
Completed 200 OK in 34ms (Views: 32.1ms | ActiveRecord: 0.6ms)
|