(9.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (5.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20160814135512)  (0.3ms) BEGIN  (9.5ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying) SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135512"]]  (0.6ms) COMMIT Migrating to CreateCoupons (20160814135612)  (1.2ms) BEGIN  (7.6ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135612"]]  (1.3ms) COMMIT Migrating to CreateCreditCards (20160814135700)  (2.1ms) BEGIN  (9.8ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135700"]]  (0.7ms) COMMIT Migrating to CreateDeliveries (20160814135728)  (1.6ms) BEGIN  (7.6ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135728"]]  (0.5ms) COMMIT Migrating to CreateOrderItems (20160814135816)  (1.7ms) BEGIN  (7.2ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135816"]]  (0.5ms) COMMIT Migrating to CreateOrders (20160814135925)  (1.4ms) BEGIN  (4.6ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4())  (0.2ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325)  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateOrders (20160814135925)  (0.2ms) BEGIN SQL (29.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (11.2ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4()) SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135925"]]  (1.6ms) COMMIT ActiveRecord::InternalMetadata Load (2.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-14 14:12:38 UTC], ["updated_at", 2016-08-14 14:12:38 UTC]]  (0.5ms) COMMIT  (0.7ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddOrderReferenceToAddresses (20160814141349)  (0.2ms) BEGIN  (1.3ms) ALTER TABLE "addresses" ADD "order_id" integer  (5.1ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")  (5.6ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141349"]]  (1.1ms) COMMIT Migrating to AddOrderReferenceToCoupons (20160814141531)  (0.3ms) BEGIN  (0.5ms) ALTER TABLE "coupons" ADD "order_id" integer  (2.3ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" ("order_id")  (2.3ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141531"]]  (0.5ms) COMMIT Migrating to AddOrderReferenceToCreditCards (20160814141953)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "credit_cards" ADD "order_id" integer  (2.2ms) CREATE INDEX "index_credit_cards_on_order_id" ON "credit_cards" ("order_id")  (2.7ms) ALTER TABLE "credit_cards" ADD CONSTRAINT "fk_rails_a4de8665d6" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141953"]]  (0.5ms) COMMIT Migrating to AddOrderReferenceToOrderItems (20160814142050)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "order_items" ADD "order_id" integer  (2.3ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")  (2.5ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142050"]]  (0.5ms) COMMIT Migrating to AddDeliveryReferenceToOrders (20160814142200)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "orders" ADD "delivery_id" integer  (2.3ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" ("delivery_id")  (2.9ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142200"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (135.8ms) DROP DATABASE IF EXISTS "dummy_development"  (132.8ms) DROP DATABASE IF EXISTS "dummy_test"  (28.0ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.6ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20160814135512)  (0.3ms) BEGIN  (11.0ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135512"]]  (0.6ms) COMMIT Migrating to CreateCoupons (20160814135612)  (1.2ms) BEGIN  (7.7ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float) SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135612"]]  (0.5ms) COMMIT Migrating to CreateCreditCards (20160814135700)  (2.1ms) BEGIN  (9.1ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135700"]]  (0.5ms) COMMIT Migrating to CreateDeliveries (20160814135728)  (1.4ms) BEGIN  (9.1ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135728"]]  (0.7ms) COMMIT Migrating to CreateOrderItems (20160814135816)  (1.6ms) BEGIN  (6.4ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135816"]]  (0.6ms) COMMIT Migrating to CreateOrders (20160814135925)  (1.5ms) BEGIN SQL (62.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (7.6ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4()) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135925"]]  (1.4ms) COMMIT Migrating to AddOrderReferenceToAddresses (20160814141349)  (1.3ms) BEGIN  (0.6ms) ALTER TABLE "addresses" ADD "order_id" integer  (3.2ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")  (7.5ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141349"]]  (0.5ms) COMMIT Migrating to AddOrderReferenceToCoupons (20160814141531)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "coupons" ADD "order_id" integer  (2.7ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" ("order_id")  (2.9ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141531"]]  (0.5ms) COMMIT Migrating to AddOrderReferenceToCreditCards (20160814141953)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "credit_cards" ADD "order_id" integer  (2.6ms) CREATE INDEX "index_credit_cards_on_order_id" ON "credit_cards" ("order_id")  (3.1ms) ALTER TABLE "credit_cards" ADD CONSTRAINT "fk_rails_a4de8665d6" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141953"]]  (0.5ms) COMMIT Migrating to AddOrderReferenceToOrderItems (20160814142050)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "order_items" ADD "order_id" integer  (2.3ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")  (2.9ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142050"]]  (0.6ms) COMMIT Migrating to AddDeliveryReferenceToOrders (20160814142200)  (0.2ms) BEGIN  (1.1ms) ALTER TABLE "orders" ADD "delivery_id" integer  (2.3ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" ("delivery_id")  (2.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142200"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-15 12:23:45 UTC], ["updated_at", 2016-08-15 12:23:45 UTC]]  (0.4ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.0ms) DROP DATABASE IF EXISTS "dummy_development"  (130.4ms) DROP DATABASE IF EXISTS "dummy_test"  (10.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateAddresses (20160814135512)  (0.2ms) BEGIN  (9.6ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying) SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135512"]]  (0.5ms) COMMIT Migrating to CreateCoupons (20160814135612)  (1.3ms) BEGIN  (6.4ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135612"]]  (0.6ms) COMMIT Migrating to CreateCreditCards (20160814135700)  (1.8ms) BEGIN  (10.6ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135700"]]  (0.7ms) COMMIT Migrating to CreateDeliveries (20160814135728)  (1.8ms) BEGIN  (10.9ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135728"]]  (0.5ms) COMMIT Migrating to CreateOrderItems (20160814135816)  (1.8ms) BEGIN  (6.8ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135816"]]  (0.5ms) COMMIT Migrating to CreateOrders (20160814135925)  (1.8ms) BEGIN SQL (25.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (8.1ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4()) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135925"]]  (1.0ms) COMMIT Migrating to AddOrderReferenceToAddresses (20160814141349)  (1.7ms) BEGIN  (0.8ms) ALTER TABLE "addresses" ADD "order_id" integer  (2.7ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" ("order_id")  (3.5ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141349"]]  (0.4ms) COMMIT Migrating to AddOrderReferenceToCoupons (20160814141531)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "coupons" ADD "order_id" integer  (3.1ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" ("order_id")  (1.8ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141531"]]  (0.5ms) COMMIT Migrating to AddCreditCardReferenceToOrders (20160814141953)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "orders" ADD "credit_card_id" integer  (2.8ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" ("credit_card_id")  (2.3ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814141953"]]  (0.6ms) COMMIT Migrating to AddOrderReferenceToOrderItems (20160814142050)  (0.3ms) BEGIN  (0.7ms) ALTER TABLE "order_items" ADD "order_id" integer  (2.4ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" ("order_id")  (2.0ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142050"]]  (0.5ms) COMMIT Migrating to AddDeliveryReferenceToOrders (20160814142200)  (0.2ms) BEGIN  (0.5ms) ALTER TABLE "orders" ADD "delivery_id" integer  (2.3ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" ("delivery_id")  (1.8ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814142200"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.6ms) BEGIN SQL (2.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-15 12:34:16 UTC], ["updated_at", 2016-08-15 12:34:16 UTC]]  (0.4ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  Started GET "/" for ::1 at 2016-08-15 16:14:05 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (6.8ms) Completed 200 OK in 57ms (Views: 20.7ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-08-15 16:14:15 +0300 ActionController::RoutingError (undefined local variable or method `authorize_resource' for OrdersController:Class): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:4:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (11.1ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (11.3ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (212.0ms) Started GET "/" for ::1 at 2016-08-15 16:57:48 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (7.5ms) Completed 200 OK in 50ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-08-15 16:57:52 +0300 ActionController::RoutingError (undefined local variable or method `authorize_resource' for OrdersController:Class): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:4:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.7ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (6.6ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.2ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (187.8ms) Started GET "/shopping_cart" for ::1 at 2016-08-15 16:58:54 +0300 ActionController::RoutingError (No route matches [GET] "/shopping_cart"): actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (7.6ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (131.1ms) Started GET "/shopping_cart/orders" for ::1 at 2016-08-15 16:59:04 +0300 ActionController::RoutingError (No route matches [GET] "/shopping_cart/orders"): actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.5ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (5.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (140.9ms) Started GET "/shopping_cart" for ::1 at 2016-08-15 16:59:07 +0300 ActionController::RoutingError (No route matches [GET] "/shopping_cart"): actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:53:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.4ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (145.4ms) Started GET "/cart" for ::1 at 2016-08-15 16:59:21 +0300 ActionController::RoutingError (undefined local variable or method `authorize_resource' for OrdersController:Class): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:4:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.0ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (5.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (131.8ms) Started GET "/cart" for ::1 at 2016-08-15 16:59:23 +0300 ActionController::RoutingError (undefined local variable or method `authorize_resource' for OrdersController:Class): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:4:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.2ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (7.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (142.2ms) Started GET "/cart" for ::1 at 2016-08-15 16:59:57 +0300 TypeError (superclass mismatch for class OrdersController): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.8ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (84.2ms) Started GET "/cart" for ::1 at 2016-08-15 17:00:18 +0300 ActionController::RoutingError (Couldn't find ShoppingCart::CheckoutHelper, expected it to be defined in helpers/shopping_cart/checkout_helper.rb): actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:163:in `rescue in block in modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:156:in `block in modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:145:in `map!' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:145:in `modules_for_helpers' actionpack (5.0.0.1) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:109:in `helper' actionpack (5.0.0.1) lib/action_controller/railties/helpers.rb:17:in `inherited' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.4ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (5.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (124.6ms) Started GET "/cart" for ::1 at 2016-08-15 17:00:56 +0300 ActionController::RoutingError (Couldn't find ShoppingCart::OrdersHelper, expected it to be defined in helpers/shopping_cart/orders_helper.rb): actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:163:in `rescue in block in modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:156:in `block in modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:145:in `map!' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:145:in `modules_for_helpers' actionpack (5.0.0.1) lib/action_controller/metal/helpers.rb:93:in `modules_for_helpers' actionpack (5.0.0.1) lib/abstract_controller/helpers.rb:109:in `helper' actionpack (5.0.0.1) lib/action_controller/railties/helpers.rb:17:in `inherited' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.2ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.2ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (141.1ms) Started GET "/cart" for ::1 at 2016-08-15 17:01:15 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (8.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.7ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (135.9ms) Started GET "/cart" for ::1 at 2016-08-15 17:01:40 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:283:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.7ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (127.6ms) Started GET "/cart" for ::1 at 2016-08-15 17:02:58 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.4ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.0ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.8ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (174.3ms) Started GET "/cart" for ::1 at 2016-08-15 17:03:01 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (5.4ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.2ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (146.6ms) Started GET "/" for ::1 at 2016-08-15 17:03:03 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (3.6ms) Completed 200 OK in 14ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-08-15 17:03:10 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (2.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (159.5ms) Started GET "/cart" for ::1 at 2016-08-15 17:03:10 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.8ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (3.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (134.8ms) Started GET "/cart" for ::1 at 2016-08-15 17:03:26 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.2ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.0ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.9ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (134.3ms) Started GET "/cart" for ::1 at 2016-08-15 17:03:57 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (7.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (127.0ms) Started GET "/cart" for ::1 at 2016-08-15 17:04:33 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (5.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (139.9ms) Started GET "/cart" for ::1 at 2016-08-15 17:04:45 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.7ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (138.1ms) Started GET "/cart" for ::1 at 2016-08-15 17:06:04 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.7ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.3ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.0ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (124.6ms) Started GET "/cart" for ::1 at 2016-08-15 17:06:57 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 500 Internal Server Error in 21ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `current_customer' for #): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:7:in `edit' actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.1ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (81.6ms) Started GET "/" for ::1 at 2016-08-19 18:53:50 +0300 PG::ConnectionBad (could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? ): activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `initialize' activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `new' activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:671:in `connect' activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:217:in `initialize' activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `new' activerecord (5.0.0.1) lib/active_record/connection_adapters/postgresql_adapter.rb:37:in `postgresql_connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:721:in `new_connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:765:in `checkout_new_connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:744:in `try_to_checkout_new_connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:705:in `acquire_connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:501:in `checkout' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:364:in `connection' activerecord (5.0.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:875:in `retrieve_connection' activerecord (5.0.0.1) lib/active_record/connection_handling.rb:128:in `retrieve_connection' activerecord (5.0.0.1) lib/active_record/connection_handling.rb:91:in `connection' activerecord (5.0.0.1) lib/active_record/migration.rb:558:in `connection' activerecord (5.0.0.1) lib/active_record/migration.rb:545:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (2.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (107.6ms) Started GET "/" for ::1 at 2016-08-19 18:54:32 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (5.9ms) Completed 200 OK in 55ms (Views: 16.6ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2016-08-19 18:54:36 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (3.8ms) Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-08-19 18:54:37 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.4ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (6.5ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (11.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.7ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (236.3ms) Started GET "/cart" for ::1 at 2016-08-19 18:56:24 +0300 ActionController::RoutingError (undefined local variable or method `authorize_resource' for ShoppingCart::OrdersController:Class): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:5:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:477:in `block in load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:662:in `new_constants_in' activesupport (5.0.0.1) lib/active_support/dependencies.rb:476:in `load_file' activesupport (5.0.0.1) lib/active_support/dependencies.rb:375:in `block in require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `block in load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/dependencies.rb:37:in `load_interlock' activesupport (5.0.0.1) lib/active_support/dependencies.rb:358:in `require_or_load' activesupport (5.0.0.1) lib/active_support/dependencies.rb:511:in `load_missing_constant' activesupport (5.0.0.1) lib/active_support/dependencies.rb:203:in `const_missing' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' activesupport (5.0.0.1) lib/active_support/dependencies.rb:583:in `get' activesupport (5.0.0.1) lib/active_support/dependencies.rb:614:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (1.1ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (119.8ms) Started GET "/cart" for ::1 at 2016-08-19 18:56:38 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms) NoMethodError (undefined method `authenticate_customer!' for # Did you mean? authenticate_with_http_token): activesupport (5.0.0.1) lib/active_support/callbacks.rb:382:in `block in make_lambda' activesupport (5.0.0.1) lib/active_support/callbacks.rb:169:in `block (2 levels) in halting' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in ' activesupport (5.0.0.1) lib/active_support/callbacks.rb:170:in `block in halting' activesupport (5.0.0.1) lib/active_support/callbacks.rb:454:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:454:in `each' activesupport (5.0.0.1) lib/active_support/callbacks.rb:454:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (6.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (80.0ms) Started GET "/cart" for ::1 at 2016-08-19 18:56:50 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `current_customer' for #): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:8:in `edit' actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (5.1ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (0.9ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (81.6ms) Started GET "/" for ::1 at 2016-08-20 11:33:24 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (9.8ms) Completed 200 OK in 58ms (Views: 23.5ms | ActiveRecord: 0.0ms) Started GET "/" for ::1 at 2016-08-20 11:33:30 +0300 Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (3.8ms) Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-08-20 11:33:30 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `current_customer' for #): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:8:in `edit' actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.2ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.6ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (130.8ms) Started GET "/cart" for ::1 at 2016-08-20 11:33:31 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms) NameError (undefined local variable or method `current_customer' for #): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:8:in `edit' actionpack (5.0.0.1) lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:188:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rendering.rb:30:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (5.0.0.1) lib/active_support/callbacks.rb:126:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:506:in `block (2 levels) in compile' activesupport (5.0.0.1) lib/active_support/callbacks.rb:455:in `call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:101:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_process_action_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/rescue.rb:20:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `block in instrument' activesupport (5.0.0.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' activesupport (5.0.0.1) lib/active_support/notifications.rb:164:in `instrument' actionpack (5.0.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (5.0.0.1) lib/action_controller/metal/params_wrapper.rb:248:in `process_action' activerecord (5.0.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (5.0.0.1) lib/abstract_controller/base.rb:126:in `process' actionview (5.0.0.1) lib/action_view/rendering.rb:30:in `process' actionpack (5.0.0.1) lib/action_controller/metal.rb:190:in `dispatch' actionpack (5.0.0.1) lib/action_controller/metal.rb:262:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:50:in `dispatch' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:32:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (4.0ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (84.0ms) Started GET "/cart" for ::1 at 2016-08-20 11:34:11 +0300 ActionController::RoutingError (uninitialized constant ShoppingCart::ApplicationController::StandardFlashes): /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:3:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/application_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:2:in `' /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/controllers/shopping_cart/orders_controller.rb:1:in `' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:12:in `block in loading' activesupport (5.0.0.1) lib/active_support/concurrency/share_lock.rb:117:in `exclusive' activesupport (5.0.0.1) lib/active_support/dependencies/interlock.rb:11:in `loading' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `const_get' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:270:in `block in constantize' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `each' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `inject' activesupport (5.0.0.1) lib/active_support/inflector/methods.rb:266:in `constantize' actionpack (5.0.0.1) lib/action_dispatch/http/request.rb:93:in `controller_class' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:44:in `controller' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:30:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' railties (5.0.0.1) lib/rails/railtie.rb:193:in `public_send' railties (5.0.0.1) lib/rails/railtie.rb:193:in `method_missing' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:17:in `block in ' actionpack (5.0.0.1) lib/action_dispatch/routing/mapper.rb:46:in `serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:39:in `block in serve' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `each' actionpack (5.0.0.1) lib/action_dispatch/journey/router.rb:26:in `serve' actionpack (5.0.0.1) lib/action_dispatch/routing/route_set.rb:725:in `call' rack (2.0.1) lib/rack/etag.rb:25:in `call' rack (2.0.1) lib/rack/conditional_get.rb:25:in `call' rack (2.0.1) lib/rack/head.rb:12:in `call' rack (2.0.1) lib/rack/session/abstract/id.rb:222:in `context' rack (2.0.1) lib/rack/session/abstract/id.rb:216:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/cookies.rb:613:in `call' activerecord (5.0.0.1) lib/active_record/migration.rb:552:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:38:in `block in call' activesupport (5.0.0.1) lib/active_support/callbacks.rb:97:in `__run_callbacks__' activesupport (5.0.0.1) lib/active_support/callbacks.rb:750:in `_run_call_callbacks' activesupport (5.0.0.1) lib/active_support/callbacks.rb:90:in `run_callbacks' actionpack (5.0.0.1) lib/action_dispatch/middleware/callbacks.rb:36:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/remote_ip.rb:79:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:49:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call' railties (5.0.0.1) lib/rails/rack/logger.rb:36:in `call_app' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `block in call' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `block in tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (5.0.0.1) lib/active_support/tagged_logging.rb:70:in `tagged' railties (5.0.0.1) lib/rails/rack/logger.rb:24:in `call' sprockets-rails (3.1.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' request_store (1.3.1) lib/request_store/middleware.rb:9:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/request_id.rb:24:in `call' rack (2.0.1) lib/rack/method_override.rb:22:in `call' rack (2.0.1) lib/rack/runtime.rb:22:in `call' activesupport (5.0.0.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/executor.rb:12:in `call' actionpack (5.0.0.1) lib/action_dispatch/middleware/static.rb:136:in `call' rack (2.0.1) lib/rack/sendfile.rb:111:in `call' railties (5.0.0.1) lib/rails/engine.rb:522:in `call' rack (2.0.1) lib/rack/handler/webrick.rb:86:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run' /Users/kirilloleynik/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [1 times] (2.5ms) Rendered collection of /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb [14 times] (4.2ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (12.4ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (155.0ms)  (1.1ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (3.9ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddUserIdToOrders (20160820142403)  (0.2ms) BEGIN  (6.6ms) ALTER TABLE "orders" ADD "user_id" integer SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160820142403"]]  (1.0ms) COMMIT ActiveRecord::InternalMetadata Load (2.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.3ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.7ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (4.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (3.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (8.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (135.6ms) DROP DATABASE IF EXISTS "dummy_test"  (772.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (38.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (10.5ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (2.6ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (6.9ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.6ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (7.0ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (7.4ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (4.8ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (9.2ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.5ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.5ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (4.0ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.3ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.1ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.0ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160820142403')  (0.6ms) INSERT INTO schema_migrations (version) VALUES ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (5.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-08-28 14:30:56 UTC], ["updated_at", 2016-08-28 14:30:56 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.7ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (3.8ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (3.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (141.2ms) DROP DATABASE IF EXISTS "dummy_test"  (709.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (51.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (14.6ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (2.8ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (7.0ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.6ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (7.7ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (6.9ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (4.4ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.9ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (9.9ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.4ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.7ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (3.8ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.1ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.3ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.4ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (3.0ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160820142403')  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (6.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-07 10:59:23 UTC], ["updated_at", 2016-09-07 10:59:23 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (2.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (3.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (139.6ms) DROP DATABASE IF EXISTS "dummy_test"  (685.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (2.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (65.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (18.9ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (3.4ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (8.1ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.5ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (7.0ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (7.1ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (4.5ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (7.9ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.6ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.5ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (6.6ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.3ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.3ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20160820142403')  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (5.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (1.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-08 09:39:46 UTC], ["updated_at", 2016-09-08 09:39:46 UTC]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (128.1ms) DROP DATABASE IF EXISTS "dummy_test"  (506.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (1.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (8.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (9.3ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (2.5ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (7.1ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.6ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (6.8ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (7.0ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (4.7ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (7.7ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.6ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.4ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (3.2ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.1ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.7ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160820142403')  (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-08 09:44:51 UTC], ["updated_at", 2016-09-08 09:44:51 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.8ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.5ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.6ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (3.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateUsers (20160908151021)  (0.2ms) BEGIN  (32.7ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160908151021"]]  (1.7ms) COMMIT Migrating to CreateProducts (20160908151506)  (1.4ms) BEGIN  (6.9ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160908151506"]]  (0.5ms) COMMIT Migrating to AddDeviseToUsers (20160909150633)  (2.1ms) BEGIN  (10.5ms) ALTER TABLE "users" ADD "email" character varying DEFAULT '' NOT NULL  (7.4ms) ALTER TABLE "users" ADD "encrypted_password" character varying DEFAULT '' NOT NULL  (0.3ms) ALTER TABLE "users" ADD "reset_password_token" character varying  (0.3ms) ALTER TABLE "users" ADD "reset_password_sent_at" timestamp  (0.3ms) ALTER TABLE "users" ADD "remember_created_at" timestamp  (9.5ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0 NOT NULL  (0.5ms) ALTER TABLE "users" ADD "current_sign_in_at" timestamp  (0.6ms) ALTER TABLE "users" ADD "last_sign_in_at" timestamp  (0.6ms) ALTER TABLE "users" ADD "current_sign_in_ip" inet  (0.7ms) ALTER TABLE "users" ADD "last_sign_in_ip" inet  (2.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (2.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160909150633"]]  (2.2ms) COMMIT ActiveRecord::InternalMetadata Load (3.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.2ms) DROP DATABASE IF EXISTS "dummy_test"  (527.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (7.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (11.3ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (3.0ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (8.5ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.8ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (6.9ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (7.2ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (4.7ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (7.6ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.5ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.6ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (7.3ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.8ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (2.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (2.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (3.4ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.3ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.1ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.0ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (5.6ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160909150633')  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20160908151021'), ('20160908151506');   (5.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-09 18:51:25 UTC], ["updated_at", 2016-09-09 18:51:25 UTC]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.4ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (8.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.4ms) BEGIN  (0.3ms) COMMIT  (0.6ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (2.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (8.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Started GET "/" for ::1 at 2016-09-10 13:59:23 +0300 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Processing by Rails::WelcomeController#index as HTML Parameters: {"internal"=>true} Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/railties-5.0.0.1/lib/rails/templates/rails/welcome/index.html.erb (6.5ms) Completed 200 OK in 59ms (Views: 20.3ms | ActiveRecord: 0.0ms) Started GET "/cart" for ::1 at 2016-09-10 13:59:33 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Started GET "/cart" for ::1 at 2016-09-10 13:59:33 +0300 Processing by ShoppingCart::OrdersController#edit as HTML Completed 401 Unauthorized in 65ms (ActiveRecord: 0.0ms) Completed 401 Unauthorized in 34ms (ActiveRecord: 0.0ms) Started GET "/users/sign_in" for ::1 at 2016-09-10 13:59:33 +0300 Processing by Devise::SessionsController#new as HTML Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/devise-4.2.0/app/views/devise/shared/_links.html.erb (2.4ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/devise-4.2.0/app/views/devise/sessions/new.html.erb within layouts/application (31.4ms) Completed 500 Internal Server Error in 442ms (ActiveRecord: 15.6ms) ActionView::Template::Error (couldn't find file 'jquery' with type 'application/javascript' Checked in these paths: /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/spec/dummy/app/assets/config /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/spec/dummy/app/assets/images /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/spec/dummy/app/assets/javascripts /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/spec/dummy/app/assets/stylesheets /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/assets/config /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/assets/javascripts /Users/kirilloleynik/Documents/Code/RubyGarage/ShoppingCart/app/assets/stylesheets /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actioncable-5.0.0.1/lib/assets/compiled /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/bootstrap-sass-3.3.7/assets/stylesheets /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/bootstrap-sass-3.3.7/assets/javascripts /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/bootstrap-sass-3.3.7/assets/fonts /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/bootstrap-sass-3.3.7/assets/images): 4: Dummy 5: <%= csrf_meta_tags %> 6: 7: <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> 8: <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> 9: 10: app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___202447477660833921_70355648949140' Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_source.html.erb (11.3ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.6ms) Rendering /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/kirilloleynik/.rvm/gems/ruby-2.3.1@shopping_cart_engine/gems/actionpack-5.0.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (118.5ms)  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (237.0ms) DROP DATABASE IF EXISTS "dummy_development"  (131.7ms) DROP DATABASE IF EXISTS "dummy_test" SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (9.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (9.8ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (2.9ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (8.5ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.5ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (7.8ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (8.1ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (7.8ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.6ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (9.1ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (2.6ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.6ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (7.9ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (8.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (2.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (2.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (3.9ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.0ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.0ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (3.9ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (7.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160909150633')  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506');   (7.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 11:06:27 UTC], ["updated_at", 2016-09-10 11:06:27 UTC]]  (0.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN  (0.2ms) COMMIT SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (39.6ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (11.6ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (2.6ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (9.3ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (3.2ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (10.4ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (8.6ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (5.3ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.9ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (7.6ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (3.3ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.4ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (9.0ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (9.0ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (2.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (3.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (5.3ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.4ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.2ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.7ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.4ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20160909150633')  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506');   (5.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 11:06:27 UTC], ["updated_at", 2016-09-10 11:06:27 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateShoppingCartAddresses (20160910121103)  (0.3ms) BEGIN  (13.7ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" ("order_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160910121103"]]  (1.8ms) COMMIT Migrating to CreateShoppingCartCoupons (20160910121104)  (1.4ms) BEGIN  (8.1ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" ("order_id") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160910121104"]]  (0.6ms) COMMIT Migrating to CreateShoppingCartCreditCards (20160910121105)  (1.3ms) BEGIN  (8.7ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" ("order_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160910121105"]]  (1.0ms) COMMIT Migrating to CreateShoppingCartOrderItems (20160910121106)  (1.4ms) BEGIN  (7.5ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.9ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" ("order_id")  (2.6ms) CREATE INDEX "productable" ON "shopping_cart_order_items" ("productable_type", "productable_id") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160910121106"]]  (0.7ms) COMMIT Migrating to CreateShoppingCartOrders (20160910121107)  (2.1ms) BEGIN SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (9.1ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.2ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" ("delivery_id")  (3.1ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" ("credit_card_id")  (3.4ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" ("user_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160910121107"]]  (0.7ms) COMMIT ActiveRecord::InternalMetadata Load (1.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (1.4ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.7ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateShoppingCartAddresses (20160814135512)  (0.2ms) BEGIN  (7.2ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.2ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (136.0ms) DROP DATABASE IF EXISTS "dummy_development"  (133.3ms) DROP DATABASE IF EXISTS "dummy_test" SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (24.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (11.0ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (3.5ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (7.8ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.7ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (9.7ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (10.2ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (7.1ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (3.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (12.0ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (4.1ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (3.0ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (11.7ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (12.6ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.9ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" USING btree ("order_id")  (7.8ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.0ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" USING btree ("order_id")  (11.2ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" USING btree ("order_id")  (9.6ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.6ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" USING btree ("order_id")  (2.9ms) CREATE INDEX "productable" ON "shopping_cart_order_items" USING btree ("productable_type", "productable_id")  (9.6ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.3ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" USING btree ("credit_card_id")  (3.3ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" USING btree ("delivery_id")  (3.1ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" USING btree ("user_id")  (10.0ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (3.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (2.6ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (4.4ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.0ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.3ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (7.1ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160910121107')  (0.6ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506'), ('20160909150633'), ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (6.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 12:20:01 UTC], ["updated_at", 2016-09-10 12:20:01 UTC]]  (0.3ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (7.4ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (12.0ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (4.5ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (9.1ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (3.9ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (10.6ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (11.0ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (7.9ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (9.8ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (3.9ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (2.5ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (9.1ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (14.0ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.7ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" USING btree ("order_id")  (8.4ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.4ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" USING btree ("order_id")  (7.7ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.3ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" USING btree ("order_id")  (9.6ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.5ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" USING btree ("order_id")  (3.1ms) CREATE INDEX "productable" ON "shopping_cart_order_items" USING btree ("productable_type", "productable_id")  (7.6ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.7ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" USING btree ("credit_card_id")  (2.6ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" USING btree ("delivery_id")  (2.5ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" USING btree ("user_id")  (11.3ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (3.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (3.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (3.9ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.3ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.6ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.7ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (4.1ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (6.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.6ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160910121107')  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506'), ('20160909150633'), ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (8.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.3ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 12:20:01 UTC], ["updated_at", 2016-09-10 12:20:01 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.1ms) BEGIN  (0.1ms) COMMIT ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateShoppingCartAddresses (20160910164824)  (0.2ms) BEGIN  (7.7ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.1ms) ROLLBACK  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325)  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (4.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (12.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  User Load (7.4ms) SELECT "users".* FROM "users" ShoppingCart::Address Load (6.0ms) SELECT "shopping_cart_addresses".* FROM "shopping_cart_addresses" ShoppingCart::Delivery Load (1.2ms) SELECT "shopping_cart_deliveries".* FROM "shopping_cart_deliveries" ShoppingCart::Delivery Load (0.7ms) SELECT "shopping_cart_deliveries".* FROM "shopping_cart_deliveries" ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (135.4ms) DROP DATABASE IF EXISTS "dummy_development"  (135.2ms) DROP DATABASE IF EXISTS "dummy_test" SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (25.9ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (12.2ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (3.4ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (7.1ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (2.8ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (7.6ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (10.8ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (7.1ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (2.9ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (10.9ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (3.4ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (3.4ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (8.6ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (10.5ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.9ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" USING btree ("order_id")  (9.2ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.9ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" USING btree ("order_id")  (9.2ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.7ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" USING btree ("order_id")  (8.0ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.4ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" USING btree ("order_id")  (3.3ms) CREATE INDEX "productable" ON "shopping_cart_order_items" USING btree ("productable_type", "productable_id")  (10.4ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.5ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" USING btree ("credit_card_id")  (2.6ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" USING btree ("delivery_id")  (3.1ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" USING btree ("user_id")  (9.9ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (4.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (3.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (3.5ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.6ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.3ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.7ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.3ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (7.2ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.7ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160910121107')  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506'), ('20160909150633'), ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (7.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 16:54:19 UTC], ["updated_at", 2016-09-10 16:54:19 UTC]]  (0.6ms) COMMIT ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql" SQL (6.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (11.5ms) CREATE TABLE "addresses" ("id" serial primary key, "address" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "order_id" integer)  (3.5ms) CREATE INDEX "index_addresses_on_order_id" ON "addresses" USING btree ("order_id")  (10.4ms) CREATE TABLE "coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer)  (3.6ms) CREATE INDEX "index_coupons_on_order_id" ON "coupons" USING btree ("order_id")  (11.0ms) CREATE TABLE "credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "firstname" character varying, "lastname" character varying)  (12.1ms) CREATE TABLE "deliveries" ("id" serial primary key, "title" character varying, "price" float)  (7.3ms) CREATE TABLE "order_items" ("id" serial primary key, "quantity" integer, "order_id" integer)  (3.5ms) CREATE INDEX "index_order_items_on_order_id" ON "order_items" USING btree ("order_id")  (9.8ms) CREATE TABLE "orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "credit_card_id" integer, "delivery_id" integer, "user_id" integer)  (3.6ms) CREATE INDEX "index_orders_on_credit_card_id" ON "orders" USING btree ("credit_card_id")  (3.3ms) CREATE INDEX "index_orders_on_delivery_id" ON "orders" USING btree ("delivery_id")  (10.6ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (12.6ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.5ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" USING btree ("order_id")  (8.2ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.5ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" USING btree ("order_id")  (8.5ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.5ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" USING btree ("order_id")  (11.1ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.3ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" USING btree ("order_id")  (3.1ms) CREATE INDEX "productable" ON "shopping_cart_order_items" USING btree ("productable_type", "productable_id")  (10.6ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" USING btree ("credit_card_id")  (2.8ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" USING btree ("delivery_id")  (2.6ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" USING btree ("user_id")  (11.0ms) CREATE TABLE "users" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (3.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" USING btree ("email")  (3.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" USING btree ("reset_password_token")  (4.6ms) ALTER TABLE "addresses" ADD CONSTRAINT "fk_rails_27d0ce0437" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.4ms) ALTER TABLE "coupons" ADD CONSTRAINT "fk_rails_68a5ba75f4" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (2.5ms) ALTER TABLE "order_items" ADD CONSTRAINT "fk_rails_e3cb28f071" FOREIGN KEY ("order_id") REFERENCES "orders" ("id")   (3.3ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_7d2de72b48" FOREIGN KEY ("credit_card_id") REFERENCES "credit_cards" ("id")   (2.2ms) ALTER TABLE "orders" ADD CONSTRAINT "fk_rails_caba0da8d5" FOREIGN KEY ("delivery_id") REFERENCES "deliveries" ("id")   (5.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (0.8ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160910121107')  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20160908151506'), ('20160909150633'), ('20160814135512'), ('20160814135612'), ('20160814135700'), ('20160814135728'), ('20160814135816'), ('20160814135925');   (8.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 16:54:19 UTC], ["updated_at", 2016-09-10 16:54:19 UTC]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" User Load (1.5ms) SELECT "users".* FROM "users" ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (134.4ms) DROP DATABASE IF EXISTS "dummy_development"  (134.7ms) DROP DATABASE IF EXISTS "dummy_test"  (8.7ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (6.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.5ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateShoppingCartAddresses (20160814135512)  (0.2ms) BEGIN  (7.4ms) CREATE TABLE "shopping_cart_addresses" ("id" serial primary key, "street" character varying, "zipcode" character varying, "city" character varying, "phone" character varying, "first_name" character varying, "last_name" character varying, "country_code" character varying, "type" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.6ms) CREATE INDEX "index_shopping_cart_addresses_on_order_id" ON "shopping_cart_addresses" ("order_id") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135512"]]  (0.5ms) COMMIT Migrating to CreateShoppingCartCoupons (20160814135612)  (1.2ms) BEGIN  (7.4ms) CREATE TABLE "shopping_cart_coupons" ("id" serial primary key, "code" character varying, "discount" float, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.1ms) CREATE INDEX "index_shopping_cart_coupons_on_order_id" ON "shopping_cart_coupons" ("order_id") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135612"]]  (1.0ms) COMMIT Migrating to CreateShoppingCartCreditCards (20160814135700)  (1.4ms) BEGIN  (8.6ms) CREATE TABLE "shopping_cart_credit_cards" ("id" serial primary key, "number" character varying, "cvv" character varying, "year" integer, "month" integer, "first_name" character varying, "last_name" character varying, "order_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_shopping_cart_credit_cards_on_order_id" ON "shopping_cart_credit_cards" ("order_id") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135700"]]  (1.0ms) COMMIT Migrating to CreateShoppingCartDeliveries (20160814135728)  (1.9ms) BEGIN  (8.3ms) CREATE TABLE "shopping_cart_deliveries" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135728"]]  (0.5ms) COMMIT Migrating to CreateShoppingCartOrderItems (20160814135816)  (1.7ms) BEGIN  (7.3ms) CREATE TABLE "shopping_cart_order_items" ("id" serial primary key, "quantity" integer, "order_id" integer, "productable_type" character varying, "productable_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.3ms) CREATE INDEX "index_shopping_cart_order_items_on_order_id" ON "shopping_cart_order_items" ("order_id")  (3.1ms) CREATE INDEX "productable" ON "shopping_cart_order_items" ("productable_type", "productable_id") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135816"]]  (1.0ms) COMMIT Migrating to CreateShoppingCartOrders (20160814135925)  (2.1ms) BEGIN SQL (16.7ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"  (8.7ms) CREATE TABLE "shopping_cart_orders" ("id" serial primary key, "total" float, "state" character varying, "number" uuid DEFAULT uuid_generate_v4(), "delivery_id" integer, "credit_card_id" integer, "user_id" integer, "completed_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (3.0ms) CREATE INDEX "index_shopping_cart_orders_on_delivery_id" ON "shopping_cart_orders" ("delivery_id")  (3.3ms) CREATE INDEX "index_shopping_cart_orders_on_credit_card_id" ON "shopping_cart_orders" ("credit_card_id")  (3.1ms) CREATE INDEX "index_shopping_cart_orders_on_user_id" ON "shopping_cart_orders" ("user_id") SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160814135925"]]  (1.1ms) COMMIT Migrating to CreateProducts (20160908151506)  (2.0ms) BEGIN  (7.6ms) CREATE TABLE "products" ("id" serial primary key, "title" character varying, "price" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160908151506"]]  (0.7ms) COMMIT Migrating to AddDeviseToUsers (20160909150633)  (1.5ms) BEGIN  (1.3ms) ALTER TABLE "users" ADD "email" character varying DEFAULT '' NOT NULL  (0.2ms) ROLLBACK  (0.5ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddDeviseToUsers (20160909150633)  (0.2ms) BEGIN  (13.2ms) CREATE TABLE "users" ("id" serial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" inet, "last_sign_in_ip" inet)  (2.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")  (2.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160909150633"]]  (1.6ms) COMMIT ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2016-09-10 17:08:07 UTC], ["updated_at", 2016-09-10 17:08:07 UTC]]  (0.4ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (9.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  User Load (1.1ms) SELECT "users".* FROM "users"  (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (1.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (7.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.3ms) SELECT pg_try_advisory_lock(1721091371569202325); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]  (0.2ms) BEGIN  (0.2ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(1721091371569202325) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'products' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_addresses' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_coupons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.3ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_credit_cards' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_deliveries' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_order_items' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'shopping_cart_orders' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (6.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'users' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname