[1m[35m (151.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (398.7ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (13.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (73.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161116185442')[0m
[1m[35m (25.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 08:35:58 UTC], ["updated_at", 2016-11-18 08:35:58 UTC]]
[1m[35m (11.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (16.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (53.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (127.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (394.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (27.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.5ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (12.3ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (26.9ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (60.8ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (0.9ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (28.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 08:37:18 UTC], ["updated_at", 2016-11-18 08:37:18 UTC]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (4.7ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (18.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (148.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:44:36 UTC], ["updated_at", 2016-11-18 09:44:36 UTC]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:49:20 UTC], ["updated_at", 2016-11-18 09:49:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 09:54:05 UTC], ["updated_at", 2016-11-18 09:54:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 10:03:14 UTC], ["updated_at", 2016-11-18 10:03:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 39ms (Views: 26.4ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[36mPwb::Content Load (0.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1 ORDER BY sort_order[0m [["tag", "content-area-cols"]]
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.0ms)
Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:01:34 UTC], ["updated_at", 2016-11-18 11:01:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 25ms (Views: 15.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:03:27 UTC], ["updated_at", 2016-11-18 11:03:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 14.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:03:56 UTC], ["updated_at", 2016-11-18 11:03:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 18ms (Views: 12.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:06:04 UTC], ["updated_at", 2016-11-18 11:06:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 15.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:08:28 UTC], ["updated_at", 2016-11-18 11:08:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 20ms (Views: 13.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:09:33 UTC], ["updated_at", 2016-11-18 11:09:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 22ms (Views: 15.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:12:22 UTC], ["updated_at", 2016-11-18 11:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 15.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:24:19 UTC], ["updated_at", 2016-11-18 11:24:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 22ms (Views: 15.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:26:21 UTC], ["updated_at", 2016-11-18 11:26:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:26:21 UTC], ["updated_at", 2016-11-18 11:26:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 73ms (Views: 15.7ms | ActiveRecord: 5.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:28:39 UTC], ["updated_at", 2016-11-18 11:28:39 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (17.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (2.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 64ms (Views: 14.7ms | ActiveRecord: 3.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:30:07 UTC], ["updated_at", 2016-11-18 11:30:07 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:30:15 UTC], ["updated_at", 2016-11-18 11:30:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 37ms (Views: 30.9ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (2.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 56ms (Views: 15.2ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:38:03 UTC], ["updated_at", 2016-11-18 11:38:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (6.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:38:09 UTC], ["updated_at", 2016-11-18 11:38:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 21ms (Views: 12.5ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 35ms (Views: 19.6ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 11:47:19 UTC], ["updated_at", 2016-11-18 11:47:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (3.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 11:55:50 UTC], ["updated_at", 2016-11-18 11:55:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 11:55:50 UTC], ["updated_at", 2016-11-18 11:55:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (8.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 11:57:16 UTC], ["updated_at", 2016-11-18 11:57:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (33.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:00:11 UTC], ["updated_at", 2016-11-18 12:00:11 UTC]]
[1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (36.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:01:21 UTC], ["updated_at", 2016-11-18 12:01:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (6.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 26], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (18.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 26]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 27], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (27.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (139.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:02:13 UTC], ["updated_at", 2016-11-18 12:02:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 28], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 29], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 30]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (111.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:17 UTC], ["updated_at", 2016-11-18 12:05:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 32], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 32]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 33], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 35]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (73.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 23ms (Views: 16.1ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (22.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:05:33 UTC], ["updated_at", 2016-11-18 12:05:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 37], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 37]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 38], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 38]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (75.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:23:40 UTC], ["updated_at", 2016-11-18 12:23:40 UTC]]
[1m[35mSQL (2.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 41], ["locale", "en"], ["created_at", 2016-11-18 12:23:40 UTC], ["updated_at", 2016-11-18 12:23:40 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:26:53 UTC], ["updated_at", 2016-11-18 12:26:53 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 42], ["locale", "en"], ["created_at", 2016-11-18 12:26:53 UTC], ["updated_at", 2016-11-18 12:26:53 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (13.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:28:46 UTC], ["updated_at", 2016-11-18 12:28:46 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 43], ["locale", "en"], ["created_at", 2016-11-18 12:28:46 UTC], ["updated_at", 2016-11-18 12:28:46 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 44], ["locale", "en"], ["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC], ["raw", "MyText"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 45], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 46], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 48]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (53.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 17ms (Views: 11.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:30:11 UTC], ["updated_at", 2016-11-18 12:30:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35mSQL (11.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 50], ["locale", "en"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 51], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 51]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 52], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 52]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 53]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 54]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (52.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 55], ["locale", "en"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 12:30:59 UTC], ["updated_at", 2016-11-18 12:30:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 11.8ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (25.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (16.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (33.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 57], ["locale", "en"], ["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC], ["raw", "MyText"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 16:00:11 UTC], ["updated_at", 2016-11-18 16:00:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 58], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 58]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 59], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 59]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 60]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 61]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (50.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 10.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 16:00:12 UTC], ["updated_at", 2016-11-18 16:00:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 16:00:12 UTC], ["updated_at", 2016-11-18 16:00:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (10.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (5.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (27.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (6.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 63], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 63]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 64], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 64]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 65]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 66]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (98.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:16:39 UTC], ["updated_at", 2016-11-18 19:16:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 26ms (Views: 16.3ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:20 UTC], ["updated_at", 2016-11-18 19:19:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 69], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 69]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 70], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 70]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 71]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 72]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (74.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 23ms (Views: 15.0ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 74], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 74]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 75], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 75]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 76]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 77]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (67.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 78], ["locale", "en"], ["created_at", 2016-11-18 19:19:38 UTC], ["updated_at", 2016-11-18 19:19:38 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 25ms (Views: 13.9ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:19:58 UTC], ["updated_at", 2016-11-18 19:19:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 80], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 80]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 81], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 81]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 82]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 83]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (93.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 25ms (Views: 19.2ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:20:31 UTC], ["updated_at", 2016-11-18 19:20:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 85], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 85]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 86], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 86]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 87]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 88]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (73.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:21:28 UTC], ["updated_at", 2016-11-18 19:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 89], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 89]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 90], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 90]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 91]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 92]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (72.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 16ms (Views: 10.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:21:29 UTC], ["updated_at", 2016-11-18 19:21:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 94], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 94]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 95], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 95]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 96]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 97]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (89.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35mSQL (5.8ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 98], ["locale", "en"], ["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:10 UTC], ["updated_at", 2016-11-18 19:22:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 22.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 100], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 100]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 101], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 101]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 102]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 103]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (80.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 17ms (Views: 11.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 105], ["locale", "en"], ["created_at", 2016-11-18 19:22:42 UTC], ["updated_at", 2016-11-18 19:22:42 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 28ms (Views: 16.5ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:22:57 UTC], ["updated_at", 2016-11-18 19:22:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 107], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 107]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 108], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 108]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 109]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 110]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (76.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]]
[1m[35mSQL (17.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 111], ["locale", "en"], ["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:26:57 UTC], ["updated_at", 2016-11-18 19:26:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 23ms (Views: 17.4ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:26:58 UTC], ["updated_at", 2016-11-18 19:26:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 113], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 113]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 114], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 114]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 115]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 116]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (46.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 28ms (Views: 17.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 118], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 118]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 119], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 119]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 120]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 121]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (76.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 122], ["locale", "en"], ["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:26 UTC], ["updated_at", 2016-11-18 19:27:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 123], ["locale", "en"], ["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 21ms (Views: 14.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:27:39 UTC], ["updated_at", 2016-11-18 19:27:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 125], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 125]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 126], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 126]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 127]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 128]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (45.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 30ms (Views: 16.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:31:18 UTC], ["updated_at", 2016-11-18 19:31:18 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:19 UTC], ["updated_at", 2016-11-18 19:31:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 130], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 130]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 131], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 131]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 132]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 133]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (71.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 134], ["locale", "en"], ["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 135], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 135]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 136], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 136]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 137]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 138]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (48.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:31:34 UTC], ["updated_at", 2016-11-18 19:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 17ms (Views: 10.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 28ms (Views: 17.5ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:04 UTC], ["updated_at", 2016-11-18 19:33:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 141], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 141]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 142], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 142]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 143]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 144]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (78.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 21ms (Views: 15.4ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:18 UTC], ["updated_at", 2016-11-18 19:33:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 146], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 146]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 147], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 147]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 148]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 149]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (86.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 25ms (Views: 15.1ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:33:34 UTC], ["updated_at", 2016-11-18 19:33:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:33:34 UTC], ["updated_at", 2016-11-18 19:33:34 UTC]]
[1m[35mSQL (13.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 151], ["locale", "en"], ["created_at", 2016-11-18 19:33:34 UTC], ["updated_at", 2016-11-18 19:33:34 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:33:35 UTC], ["updated_at", 2016-11-18 19:33:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 152], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 152]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 153], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 153]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 154]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 155]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (43.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 156], ["locale", "en"], ["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 157], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 157]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 158], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 158]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 159]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 160]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (51.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 19:34:07 UTC], ["updated_at", 2016-11-18 19:34:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 10.4ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 19:34:08 UTC], ["updated_at", 2016-11-18 19:34:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (6.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 26ms (Views: 15.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (12.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 163], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 163]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 164], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 164]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 165]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 166]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (81.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 167], ["locale", "en"], ["created_at", 2016-11-18 20:06:30 UTC], ["updated_at", 2016-11-18 20:06:30 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (18.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (31.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 168], ["locale", "en"], ["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC], ["raw", "MyText"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 24ms (Views: 16.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-18 22:20:47 UTC], ["updated_at", 2016-11-18 22:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 170], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 170]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 171], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 171]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 172]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 173]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (90.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (145.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (343.6ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (20.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161116185442')[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-18 22:26:18 UTC], ["updated_at", 2016-11-18 22:26:18 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (18.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (173.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (369.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (3.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161116185442')[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (17.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:37:17 UTC], ["updated_at", 2016-11-19 11:37:17 UTC]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (123.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (367.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (24.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (22.8ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161118222543')[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:38:33 UTC], ["updated_at", 2016-11-19 11:38:33 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (25.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (130.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (336.5ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (10.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (23.0ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.3ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-19 11:39:45 UTC], ["updated_at", 2016-11-19 11:39:45 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (3.4ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.5ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (19.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 1], ["locale", "en"], ["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 2], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 2]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 3], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (76.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-19 12:13:43 UTC], ["updated_at", 2016-11-19 12:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 17ms (Views: 11.2ms | ActiveRecord: 0.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (19.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (6.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 7], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 8], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 8]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (1.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (131.5ms)
[1m[35m (6.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:33:37 UTC], ["updated_at", 2016-11-19 12:33:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (2.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 15], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 16], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 18]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (1.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (123.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:11 UTC], ["updated_at", 2016-11-19 12:34:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 23], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 23]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 24], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 24]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 25]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 26]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (129.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:34:40 UTC], ["updated_at", 2016-11-19 12:34:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 27], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 28], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 30]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (17.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 31], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 32], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 32]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (123.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:35:52 UTC], ["updated_at", 2016-11-19 12:35:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 35], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 35]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 36], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 36]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 37]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 38]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 39], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 40], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 42]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (128.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:09 UTC], ["updated_at", 2016-11-19 12:36:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 43], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 43]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 44], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 44]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.9ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 47], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 48], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 48]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 49]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 50]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (135.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 12:36:25 UTC], ["updated_at", 2016-11-19 12:36:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 51], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 51]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 52], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 52]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 53]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 54]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.1ms)
[1m[35m (44.0ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (2.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (32.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 55], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 55]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 56], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 56]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 57]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 58]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (142.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:34:29 UTC], ["updated_at", 2016-11-19 14:34:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 59], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 59]]
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 60], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 60]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 61]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 62]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.9ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 63], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 63]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 64], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 64]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 65]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 66]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (114.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:36:12 UTC], ["updated_at", 2016-11-19 14:36:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 67], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 67]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 68], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 68]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 69]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 70]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.7ms)
[1m[35m (2.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 71], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 71]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 72], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 72]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 73]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 74]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (97.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 14:58:31 UTC], ["updated_at", 2016-11-19 14:58:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 75], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 75]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 76], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 76]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 77]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 78]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 80], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 80]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 81], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 81]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 82]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 83]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (133.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-19 15:23:04 UTC], ["updated_at", 2016-11-19 15:23:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 85], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 85]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 86], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 86]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 87]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 88]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Content Load (0.9ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 89], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "We are the best estate agents in our area.
- Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 89], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 90], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 90], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 91], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 91], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 92], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 92], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 93], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 93], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 94], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 94], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 95], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 95], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 96], ["locale", "en"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 96], ["locale", "es"], ["created_at", 2016-11-19 16:04:46 UTC], ["updated_at", 2016-11-19 16:04:46 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 97], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 97], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 98], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 98], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 99], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 99], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 100], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 100], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 101], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 101], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 102], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 102], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 103], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 103], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 104], ["locale", "en"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 104], ["locale", "es"], ["created_at", 2016-11-19 16:05:35 UTC], ["updated_at", 2016-11-19 16:05:35 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 105], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 105], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 106], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 106], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 107], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 107], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 108], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 108], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 109], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 109], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 110], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 110], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 111], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 111], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 112], ["locale", "en"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 112], ["locale", "es"], ["created_at", 2016-11-19 16:06:45 UTC], ["updated_at", 2016-11-19 16:06:45 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 113], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 113], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 114], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 114], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 115], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 115], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 116], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 116], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 117], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 117], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 118], ["locale", "en"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 118], ["locale", "es"], ["created_at", 2016-11-19 16:08:22 UTC], ["updated_at", 2016-11-19 16:08:22 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 119], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 119], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 120], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 120], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 121], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 121], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 122], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 122], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 123], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 123], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 124], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 124], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 125], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 125], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 126], ["locale", "en"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 126], ["locale", "es"], ["created_at", 2016-11-19 16:08:39 UTC], ["updated_at", 2016-11-19 16:08:39 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 127], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 127], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 128], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 128], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 129], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 129], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 130], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 130], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 131], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 131], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 132], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 132], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 133], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 133], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 134], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 134], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 135], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 135], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 136], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 136], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 137], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 137], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 138], ["locale", "en"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 138], ["locale", "es"], ["created_at", 2016-11-19 16:11:22 UTC], ["updated_at", 2016-11-19 16:11:22 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "content-area-cols"]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 139], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 139], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 140], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 140], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (2.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (3.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 141], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (5.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 141], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (4.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 142], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 142], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (1.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 143], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 143], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 144], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 144], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 145], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 145], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 146], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 146], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 147], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 147], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 148], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 148], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 149], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 149], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 150], ["locale", "en"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 150], ["locale", "es"], ["created_at", 2016-11-19 16:12:42 UTC], ["updated_at", 2016-11-19 16:12:42 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "content-area-cols"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 151], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 151], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 152], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 152], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 153], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 153], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 154], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 154], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "content-area-cols"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 155], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 155], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 156], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 156], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 157], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 157], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 158], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 158], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 159], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 159], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 160], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 160], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 161], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 161], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 162], ["locale", "en"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 162], ["locale", "es"], ["created_at", 2016-11-19 16:25:34 UTC], ["updated_at", 2016-11-19 16:25:34 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 163], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 163], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 164], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 164], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 165], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 165], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "content-area-cols"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 166], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 166], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 167], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 167], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 168], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 168], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 169], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 169], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 170], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 170], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 171], ["locale", "en"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 171], ["locale", "es"], ["created_at", 2016-11-19 16:26:50 UTC], ["updated_at", 2016-11-19 16:26:50 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 172], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 172], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 173], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 173], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 174], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 174], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 175], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 175], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "aboutUs"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 176], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are a professional estate agents based with many years experience of delivering a great service for our clients."]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 176], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Llevamos muchos años comprometidos con ofrecer un servicio integral y conseguir solo transacciones con éxito y felicidad por parte de los compradores y vendedores."]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "content-area-cols"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 177], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 177], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 178], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 178], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 179], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 179], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 180], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 180], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "aboutUs"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 181], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are a professional estate agents based with many years experience of delivering a great service for our clients."]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 181], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Llevamos muchos años comprometidos con ofrecer un servicio integral y conseguir solo transacciones con éxito y felicidad por parte de los compradores y vendedores."]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "landingPageHero"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac1"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac1"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 182], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Find your home
Explain to us exactly what you are looking for and we will do our best to find that ideal property that meets your needs.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 182], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Encuentra tu hogar
ExplÃcanos exactamente lo que estás buscando, tus necesidades, estamos seguros de que encontraremos el hogar que necesitáis tú y tu familia.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac2"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac2"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 183], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Professional Estate Agents
We are professional estate agents. We will help you with all the paperwork and save you money along the way.
"]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 183], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Agentes Inmobiliarios
Somos agentes inmobiliarios profesionales. Te ayudamos con todos los trámites, y te ahorramos dinero con las transacciones. Vamos de la mano durante todo el proceso, te guiamos y asesoramos desde el primer momento hasta el último.
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "cac3"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "cac3"], ["tag", "content-area-cols"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 184], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Sell your property
If you need to sell your property, get in touch with us. With our experience in the industry and the local area we will get it done in the quickest and simplest way.
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 184], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "
Vende tu vivienda
Si necesitas vender una vivienda, ponte en contacto con nosotros. Con nuestra experiencia en el sector y en la zona haremos este trámite de forma rápida y sencilla.
"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "landingPageHero"]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "landingPageHero"], ["tag", "landing-carousel"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 185], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are the best estate agents in our area. - Professional staff
- We will find you the best property on the market
"]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 185], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Somos lo mejor. - Nuestro equipo está formado por profesionales
"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_contents" WHERE "pwb_contents"."key" = $1[0m [["key", "aboutUs"]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "aboutUs"], ["tag", "about-us"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 186], ["locale", "en"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "We are a professional estate agents based with many years experience of delivering a great service for our clients."]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 186], ["locale", "es"], ["created_at", 2016-11-19 16:28:09 UTC], ["updated_at", 2016-11-19 16:28:09 UTC], ["raw", "Llevamos muchos años comprometidos con ofrecer un servicio integral y conseguir solo transacciones con éxito y felicidad por parte de los compradores y vendedores."]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (18.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (156.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (369.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (55.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (14.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean, "sold" boolean, "reserved" boolean, "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161120122914')[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 18:40:06 UTC], ["updated_at", 2016-11-20 18:40:06 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (123.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (343.4ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (33.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (19.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (25.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.4ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (0.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (11.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (11.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (11.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.4ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (7.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 18:40:30 UTC], ["updated_at", 2016-11-20 18:40:30 UTC]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.4ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.7ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.9ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 40ms (Views: 16.7ms | ActiveRecord: 3.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35mSQL (19.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 2], ["locale", "en"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (6.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 5], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (115.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:45 UTC], ["updated_at", 2016-11-20 18:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 10], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 12]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (41.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:40:46 UTC], ["updated_at", 2016-11-20 18:40:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:52 UTC], ["updated_at", 2016-11-20 18:54:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 14], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 14]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 15], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 13]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (114.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 19], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 19]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 20], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 20]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 21]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 22]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 28ms (Views: 11.4ms | ActiveRecord: 3.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 24], ["locale", "en"], ["created_at", 2016-11-20 18:54:53 UTC], ["updated_at", 2016-11-20 18:54:53 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (29.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 43ms (Views: 16.0ms | ActiveRecord: 4.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 19:04:35 UTC], ["updated_at", 2016-11-20 19:04:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 26], ["locale", "en"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (4.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 28], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 29], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 30]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (78.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 19:04:36 UTC], ["updated_at", 2016-11-20 19:04:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 33], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 34], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 35]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 36]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (25.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.5ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (36.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 96ms (Views: 18.6ms | ActiveRecord: 44.1ms)
[1m[35m (11.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (41.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 21:05:42 UTC], ["updated_at", 2016-11-20 21:05:42 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.4ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 39], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.8ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 40], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 42]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 38]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (104.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 44], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 44]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 45], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 48], ["locale", "en"], ["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-20 21:05:43 UTC], ["updated_at", 2016-11-20 21:05:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (6.9ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 109ms (Views: 17.7ms | ActiveRecord: 17.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:18:33 UTC], ["updated_at", 2016-11-20 22:18:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:18:44 UTC], ["updated_at", 2016-11-20 22:18:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 57ms (Views: 18.4ms | ActiveRecord: 8.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:19:50 UTC], ["updated_at", 2016-11-20 22:19:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 59ms (Views: 17.6ms | ActiveRecord: 8.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:21:32 UTC], ["updated_at", 2016-11-20 22:21:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 59ms (Views: 16.5ms | ActiveRecord: 7.4ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 109ms (Views: 18.7ms | ActiveRecord: 12.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-20 22:34:02 UTC], ["updated_at", 2016-11-20 22:34:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (19.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (11.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (27.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:14:52 UTC], ["updated_at", 2016-11-21 08:14:52 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 60ms (Views: 14.5ms | ActiveRecord: 14.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:22:10 UTC], ["updated_at", 2016-11-21 08:22:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 54ms (Views: 15.8ms | ActiveRecord: 6.8ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:24:30 UTC], ["updated_at", 2016-11-21 08:24:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 56ms (Views: 17.2ms | ActiveRecord: 7.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:30:07 UTC], ["updated_at", 2016-11-21 08:30:07 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (1.6ms)
Completed 200 OK in 155ms (Views: 20.9ms | ActiveRecord: 7.1ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 18ms (Views: 5.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 116ms (Views: 18.1ms | ActiveRecord: 13.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:31:34 UTC], ["updated_at", 2016-11-21 08:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:37:06 UTC], ["updated_at", 2016-11-21 08:37:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 55ms (Views: 15.5ms | ActiveRecord: 6.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 112ms (Views: 17.0ms | ActiveRecord: 12.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-21 08:37:18 UTC], ["updated_at", 2016-11-21 08:37:18 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (145.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (393.7ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (59.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (14.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161120122914')[0m
[1m[35m (25.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (2.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (5.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-22 16:26:33 UTC], ["updated_at", 2016-11-22 16:26:33 UTC]]
[1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (124.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (350.5ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (11.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (0.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (11.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.8ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (11.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (8.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (12.2ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (27.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (2.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-22 16:27:03 UTC], ["updated_at", 2016-11-22 16:27:03 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (25.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (4.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 177ms (Views: 14.7ms | ActiveRecord: 45.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:27:18 UTC], ["updated_at", 2016-11-22 16:27:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.2ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"1", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.3ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 214ms (Views: 19.9ms | ActiveRecord: 18.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.9ms)
Completed 200 OK in 35ms (Views: 7.6ms | ActiveRecord: 3.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:31:34 UTC], ["updated_at", 2016-11-22 16:31:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 188ms (Views: 18.9ms | ActiveRecord: 22.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (10.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:42:01 UTC], ["updated_at", 2016-11-22 16:42:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (25.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:42:09 UTC], ["updated_at", 2016-11-22 16:42:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"1", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:43:09 UTC], ["updated_at", 2016-11-22 16:43:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 19ms (Views: 11.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("for_sale", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["for_sale", true], ["created_at", 2016-11-22 16:52:42 UTC], ["updated_at", 2016-11-22 16:52:42 UTC]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-11-22 16:52:42 UTC], ["updated_at", 2016-11-22 16:52:42 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"2", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 66ms (Views: 20.2ms | ActiveRecord: 5.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 24ms (Views: 7.3ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:52:50 UTC], ["updated_at", 2016-11-22 16:52:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 99ms (Views: 16.3ms | ActiveRecord: 11.6ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:53:36 UTC], ["updated_at", 2016-11-22 16:53:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["created_at", 2016-11-22 16:53:45 UTC], ["updated_at", 2016-11-22 16:53:45 UTC]]
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-11-22 16:53:45 UTC], ["updated_at", 2016-11-22 16:53:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 16:53:56 UTC], ["updated_at", 2016-11-22 16:53:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 23ms (Views: 13.4ms | ActiveRecord: 2.0ms)
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (8.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (11.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_sale_current_cents", 1000000], ["created_at", 2016-11-22 17:02:28 UTC], ["updated_at", 2016-11-22 17:02:28 UTC]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-11-22 17:02:28 UTC], ["updated_at", 2016-11-22 17:02:28 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"4", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:02:28 UTC], ["updated_at", 2016-11-22 17:02:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 4]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 75ms (Views: 25.4ms | ActiveRecord: 5.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 5.4ms | ActiveRecord: 1.2ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:02:29 UTC], ["updated_at", 2016-11-22 17:02:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_sale_current_cents", 1000000], ["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 5]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 70ms (Views: 21.0ms | ActiveRecord: 5.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 35ms (Views: 6.5ms | ActiveRecord: 4.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:03:28 UTC], ["updated_at", 2016-11-22 17:03:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 104ms (Views: 20.5ms | ActiveRecord: 12.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_sale_current_cents", 1000000], ["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:04:17 UTC], ["updated_at", 2016-11-22 17:04:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 6]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 10.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (12.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"7", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 70ms (Views: 22.4ms | ActiveRecord: 5.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"8", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 33ms (Views: 5.4ms | ActiveRecord: 3.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:08:24 UTC], ["updated_at", 2016-11-22 17:08:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 130ms (Views: 17.9ms | ActiveRecord: 13.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"9", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 9]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 23ms (Views: 10.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"10", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:09:48 UTC], ["updated_at", 2016-11-22 17:09:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 10]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.4ms | ActiveRecord: 1.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (3.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:11:29 UTC], ["updated_at", 2016-11-22 17:11:29 UTC]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-11-22 17:11:29 UTC], ["updated_at", 2016-11-22 17:11:29 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"11", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:11:29 UTC], ["updated_at", 2016-11-22 17:11:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 11]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 94ms (Views: 42.8ms | ActiveRecord: 6.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"12", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 12]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 43ms (Views: 5.4ms | ActiveRecord: 4.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:11:30 UTC], ["updated_at", 2016-11-22 17:11:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 158ms (Views: 17.7ms | ActiveRecord: 21.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (2.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"13", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 18ms (Views: 11.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"14", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 14]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 18ms (Views: 7.6ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"15", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:06 UTC], ["updated_at", 2016-11-22 17:12:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 15]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 95ms (Views: 14.4ms | ActiveRecord: 11.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"16", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 16]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 11.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"17", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"18", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:12:35 UTC], ["updated_at", 2016-11-22 17:12:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 18]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (12.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"20", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 20]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 89ms (Views: 29.0ms | ActiveRecord: 9.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"21", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 14ms (Views: 7.0ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 22]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 23ms (Views: 6.3ms | ActiveRecord: 2.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35mSQL (5.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 15], ["locale", "en"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (2.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 17], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 18], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 18]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 19]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 20]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (81.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 22], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 22]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 23], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 23]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 24]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 25]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:13 UTC], ["updated_at", 2016-11-22 17:32:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 23]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 68ms (Views: 20.6ms | ActiveRecord: 5.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"24", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"25", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 25]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 5.3ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 27], ["locale", "en"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 26], ["locale", "en"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 29], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 30], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 30]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 32]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (76.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:32:25 UTC], ["updated_at", 2016-11-22 17:32:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 34], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 35], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 35]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 36]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 37]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 39], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 40], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 42]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 38]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (121.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-22 17:33:42 UTC], ["updated_at", 2016-11-22 17:33:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 44], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 44]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 45], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (359.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (392.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (51.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (18.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (4.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124103103')[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:23:55 UTC], ["updated_at", 2016-11-24 12:23:55 UTC]]
[1m[35m (11.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (124.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (342.5ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (33.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (11.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (18.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:11 UTC], ["updated_at", 2016-11-24 12:29:11 UTC]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (6.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (122.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (360.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:25 UTC], ["updated_at", 2016-11-24 12:29:25 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (119.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (334.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
[1m[35m (28.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:29:43 UTC], ["updated_at", 2016-11-24 12:29:43 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (125.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (419.6ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (16.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
[1m[35m (107.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-24 12:32:18 UTC], ["updated_at", 2016-11-24 12:32:18 UTC]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (28.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (0.9ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (22.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (54.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_prop_id" ON "pwb_content_photos" ("prop_id")[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (40.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (16.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (6.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (32.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (11.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (9.0ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (3.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (5.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (17.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (6.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (25.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (23.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (3.2ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (38.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"1", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 71ms (Views: 20.0ms | ActiveRecord: 7.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"2", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (4.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 28ms (Views: 7.1ms | ActiveRecord: 8.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:05 UTC], ["updated_at", 2016-11-24 12:35:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 3]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 16ms (Views: 2.2ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 6.4ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 5.6ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 2], ["locale", "en"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (8.1ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 5], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (87.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 10], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 12]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-24 12:35:06 UTC], ["updated_at", 2016-11-24 12:35:06 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (26.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (3.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (165.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (428.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (18.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (16.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (31.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (27.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (17.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (26.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:52:52 UTC], ["updated_at", 2016-11-28 08:52:52 UTC]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (129.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (246.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (8.1ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (7.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (34.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (11.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.7ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (5.7ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.3ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (4.2ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.7ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (10.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (21.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (15.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (5.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:55:08 UTC], ["updated_at", 2016-11-28 08:55:08 UTC]]
[1m[35m (11.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.8ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.3ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (126.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (381.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (26.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (3.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (15.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (8.1ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.5ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (14.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (11.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:59:18 UTC], ["updated_at", 2016-11-28 08:59:18 UTC]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (4.5ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (129.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (36.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (19.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (27.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (2.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (11.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (28.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '"{}"', "supported_locales" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '"{}"', "details" json DEFAULT '"{}"', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (17.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (11.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (4.7ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (2.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (6.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (23.3ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (9.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (11.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (11.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 08:59:50 UTC], ["updated_at", 2016-11-28 08:59:50 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.4ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.4ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (23.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (7.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 2], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (23.8ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 2]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 3], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 1]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (168.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 7], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 8], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 8]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 12], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 12]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 13], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 13]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 14]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms)
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (1.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:02:36 UTC], ["updated_at", 2016-11-28 09:02:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 17], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 18], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 18]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 19]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 20]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (9.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (3.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (2.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (7.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:05:31 UTC], ["updated_at", 2016-11-28 09:05:31 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:06:16 UTC], ["updated_at", 2016-11-28 09:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:07:15 UTC], ["updated_at", 2016-11-28 09:07:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:07:16 UTC], ["updated_at", 2016-11-28 09:07:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (19.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (96.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (130.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:10:46 UTC], ["updated_at", 2016-11-28 09:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (74.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (75.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC]]
[1m[35mSQL (19.8ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 61], ["locale", "en"], ["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (27.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-11-28 09:15:31 UTC], ["updated_at", 2016-11-28 09:15:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"1", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 79ms (Views: 23.4ms | ActiveRecord: 9.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"2", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 14ms (Views: 7.1ms | ActiveRecord: 1.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 3]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 63], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 63]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 64], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 64]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 65]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 66]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 62]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (75.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 68], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 68]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 69], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 69]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 70]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 71]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (138.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (169.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (116.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (116.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 24ms (Views: 6.7ms | ActiveRecord: 1.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 10ms (Views: 1.3ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-11-28 09:15:32 UTC], ["updated_at", 2016-11-28 09:15:32 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 5]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 74ms (Views: 21.1ms | ActiveRecord: 6.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 6.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"7", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:23 UTC], ["updated_at", 2016-11-28 09:16:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 83], ["locale", "en"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (131.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (164.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (138.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (139.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 95], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 95]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 96], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 96]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 97]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 98]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.7ms)
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 94]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (5.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (91.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 100], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 100]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 101], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 101]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 102]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 103]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 22ms (Views: 6.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:24 UTC], ["updated_at", 2016-11-28 09:16:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 106], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 106]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 107], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 107]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 108]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 109]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 105]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (112.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 111], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 111]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 112], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 112]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 113]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 114]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 115], ["locale", "en"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 36ms (Views: 11.0ms | ActiveRecord: 4.0ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"10", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 21ms (Views: 11.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"11", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 11]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 18ms (Views: 6.1ms | ActiveRecord: 2.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"12", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 12]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (127.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (161.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:35 UTC], ["updated_at", 2016-11-28 09:16:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (109.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (110.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 128], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 128]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 129], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 129]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 130]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 131]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 127]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (111.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 133], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 133]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 134], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 134]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 135]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 136]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 137], ["locale", "en"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"13", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 13]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 82ms (Views: 16.9ms | ActiveRecord: 7.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"14", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 16ms (Views: 6.6ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"15", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 15]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (142.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (174.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:42 UTC], ["updated_at", 2016-11-28 09:16:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (117.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (118.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 7.7ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-11-28 09:16:43 UTC], ["updated_at", 2016-11-28 09:16:43 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (96.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (131.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:19 UTC], ["updated_at", 2016-11-28 09:17:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (74.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (74.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 159], ["locale", "en"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC], ["raw", "MyText"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"17", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 17]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 79ms (Views: 22.6ms | ActiveRecord: 7.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"18", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 7.4ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"19", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 19]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 161], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 161]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 162], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 162]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 163]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 164]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 160]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (77.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 166], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 166]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 167], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 167]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 168]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 169]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (140.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (175.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (119.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (120.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 8.1ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 2.0ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:17:56 UTC], ["updated_at", 2016-11-28 09:17:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 182], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 182]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 183], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 183]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 184]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 185]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 181]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (104.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 187], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 187]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 188], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 188]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 189]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 190]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:02 UTC], ["updated_at", 2016-11-28 09:18:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 70ms (Views: 9.9ms | ActiveRecord: 9.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (138.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (173.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (117.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (118.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 202], ["locale", "en"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 22]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 26ms (Views: 10.7ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.2ms | ActiveRecord: 1.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"24", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 24]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:03 UTC], ["updated_at", 2016-11-28 09:18:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 82ms (Views: 16.8ms | ActiveRecord: 9.0ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"25", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 13.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 26], ["locale", "en"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"26", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 26]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 18ms (Views: 6.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 27], ["locale", "en"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"27", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 27]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 28], ["locale", "en"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 205], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 205]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 206], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 206]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 207]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 208]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 204]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (91.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 210], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 210]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 211], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 211]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 212]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 213]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (128.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (158.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:09 UTC], ["updated_at", 2016-11-28 09:18:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (104.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (105.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:10 UTC], ["updated_at", 2016-11-28 09:18:10 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 224], ["locale", "en"], ["created_at", 2016-11-28 09:18:10 UTC], ["updated_at", 2016-11-28 09:18:10 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 225], ["locale", "en"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 29], ["locale", "en"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"29", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 29]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 72ms (Views: 21.0ms | ActiveRecord: 7.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 30], ["locale", "en"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"30", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 31], ["locale", "en"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"31", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 31]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 5.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (130.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (162.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (115.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (115.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 238], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 238]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 239], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 239]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 240]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 241]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 237]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (82.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 243], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 243]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 244], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 244]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 245]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 246]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:15 UTC], ["updated_at", 2016-11-28 09:18:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:18:16 UTC], ["updated_at", 2016-11-28 09:18:16 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 32], ["locale", "en"], ["created_at", 2016-11-28 09:18:16 UTC], ["updated_at", 2016-11-28 09:18:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (117.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (151.9ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:19:28 UTC], ["updated_at", 2016-11-28 09:19:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (79.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (80.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (94.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (126.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:20:40 UTC], ["updated_at", 2016-11-28 09:20:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (74.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (75.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (97.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (134.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:24 UTC], ["updated_at", 2016-11-28 09:21:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (87.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (87.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (19.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 33], ["locale", "en"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"33", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 33]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 78ms (Views: 17.1ms | ActiveRecord: 10.8ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 34], ["locale", "en"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"34", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 6.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 35], ["locale", "en"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"35", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 35]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.3ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 36], ["locale", "en"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 278], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 278]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 279], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 279]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 280]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 281]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 277]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (101.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 283], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 283]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 284], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 284]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 285]]
[1m[36mPwb::Content::Translation Load (0.1ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 286]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 7.5ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 288], ["locale", "en"], ["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:21:25 UTC], ["updated_at", 2016-11-28 09:21:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (86.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (143.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (68.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (69.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (1.4ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (96.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (156.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (70.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (71.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 50ms (Views: 15.4ms | ActiveRecord: 6.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 21ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:39 UTC], ["updated_at", 2016-11-28 09:30:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (113.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (149.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (97.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (98.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 37], ["locale", "en"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 290], ["locale", "en"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 38], ["locale", "en"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"38", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 38]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 38ms (Views: 19.2ms | ActiveRecord: 3.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 39], ["locale", "en"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"39", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 40], ["locale", "en"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"40", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 40]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 292], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 292]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 293], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 293]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 294]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 295]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 291]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (97.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:30:56 UTC], ["updated_at", 2016-11-28 09:30:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 297], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 297]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 298], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 298]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 299]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 300]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:32:51 UTC], ["updated_at", 2016-11-28 09:32:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (110.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:35:05 UTC], ["updated_at", 2016-11-28 09:35:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (35.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (106.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (13.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 41], ["locale", "en"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 306], ["locale", "en"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 308], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 308]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 309], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 309]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 310]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 311]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 307]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (84.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 313], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 313]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 314], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 314]]
[1m[36mPwb::Content::Translation Load (1.1ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 315]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 316]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (20.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 49ms (Views: 19.5ms | ActiveRecord: 4.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 42], ["locale", "en"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"42", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 42]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.9ms)
Completed 200 OK in 35ms (Views: 16.8ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 43], ["locale", "en"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"43", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 19ms (Views: 9.6ms | ActiveRecord: 2.0ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 44], ["locale", "en"], ["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"44", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 44]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 09:37:45 UTC], ["updated_at", 2016-11-28 09:37:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 09:41:34 UTC], ["updated_at", 2016-11-28 09:41:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (74.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (5.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (17.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (24.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:17:14 UTC], ["updated_at", 2016-11-28 10:17:14 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (20.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (82.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:18:55 UTC], ["updated_at", 2016-11-28 10:18:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (15.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (70.2ms)
[1m[35m (2.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:21:28 UTC], ["updated_at", 2016-11-28 10:21:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (76.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:21:46 UTC], ["updated_at", 2016-11-28 10:21:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (36.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (145.1ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:21:55 UTC], ["updated_at", 2016-11-28 10:21:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (73.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (16.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (29.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:46:45 UTC], ["updated_at", 2016-11-28 10:46:45 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:46:56 UTC], ["updated_at", 2016-11-28 10:46:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (71.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (7682.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:53:50 UTC], ["updated_at", 2016-11-28 10:53:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (86.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (553.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (7.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (5.9ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 112ms (Views: 17.9ms | ActiveRecord: 25.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:38 UTC], ["updated_at", 2016-11-28 10:55:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.9ms)
[1m[36mPwb::Content Load (18.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:55:42 UTC], ["updated_at", 2016-11-28 10:55:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (133.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (580.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (16.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (57.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (13.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 319], ["locale", "en"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (22.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 45], ["locale", "en"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"45", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 45]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (1.2ms)
Completed 200 OK in 33ms (Views: 17.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 46], ["locale", "en"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"46", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 19ms (Views: 7.7ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 47], ["locale", "en"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"47", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 47]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 2.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 48], ["locale", "en"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:55:43 UTC], ["updated_at", 2016-11-28 10:55:43 UTC]]
[1m[35m (19.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 321], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 321]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 322], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 322]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 323]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 324]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 320]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (84.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:44 UTC], ["updated_at", 2016-11-28 10:55:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 326], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 326]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 327], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 327]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 328]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 329]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 330], ["locale", "en"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 49], ["locale", "en"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (52.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 33ms (Views: 14.0ms | ActiveRecord: 2.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:55:52 UTC], ["updated_at", 2016-11-28 10:55:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:57:03 UTC], ["updated_at", 2016-11-28 10:57:03 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (194.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (900.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 50], ["locale", "en"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"50", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 50]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 27ms (Views: 11.8ms | ActiveRecord: 3.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 51], ["locale", "en"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"51", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 52], ["locale", "en"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"52", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 52]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 333], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 333]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 334], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 334]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 335]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 336]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 332]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (97.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:04 UTC], ["updated_at", 2016-11-28 10:57:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 338], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 338]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 339], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 339]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 340]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 341]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.9ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:05 UTC], ["updated_at", 2016-11-28 10:57:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:12 UTC], ["updated_at", 2016-11-28 10:57:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 343], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 343]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 344], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 344]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 345]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 346]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 342]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (113.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 348], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 348]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 349], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 349]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 350]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 351]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 86ms (Views: 10.0ms | ActiveRecord: 10.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (15.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (48.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 53], ["locale", "en"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 54], ["locale", "en"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"54", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 54]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 26ms (Views: 10.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 55], ["locale", "en"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"55", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 55]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 56], ["locale", "en"], ["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"56", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:13 UTC], ["updated_at", 2016-11-28 10:57:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (93.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (462.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC]]
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 353], ["locale", "en"], ["created_at", 2016-11-28 10:57:17 UTC], ["updated_at", 2016-11-28 10:57:17 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:58:13 UTC], ["updated_at", 2016-11-28 10:58:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (80.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (514.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 10:58:58 UTC], ["updated_at", 2016-11-28 10:58:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (33.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (368.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 91ms (Views: 15.9ms | ActiveRecord: 17.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 355], ["locale", "en"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 57], ["locale", "en"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:10:01 UTC], ["updated_at", 2016-11-28 11:10:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (52.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 357], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 357]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 358], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 358]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 359]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 360]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 356]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (78.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:02 UTC], ["updated_at", 2016-11-28 11:10:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 362], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 362]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 363], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 363]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 364]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 365]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (32.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (472.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 58], ["locale", "en"], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"58", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 58], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 24ms (Views: 13.2ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 59], ["locale", "en"], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"59", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 59]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 21ms (Views: 7.7ms | ActiveRecord: 2.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 60], ["locale", "en"], ["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"60", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:10:28 UTC], ["updated_at", 2016-11-28 11:10:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 60], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 60]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 2.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:10:37 UTC], ["updated_at", 2016-11-28 11:10:37 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (30.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (350.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:11:22 UTC], ["updated_at", 2016-11-28 11:11:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (34.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (463.2ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (14.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:12:22 UTC], ["updated_at", 2016-11-28 11:12:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (102.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (683.2ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:12:53 UTC], ["updated_at", 2016-11-28 11:12:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:12:54 UTC], ["updated_at", 2016-11-28 11:12:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:12:54 UTC], ["updated_at", 2016-11-28 11:12:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (30.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (392.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:14:42 UTC], ["updated_at", 2016-11-28 11:14:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (34.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (447.3ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 11:14:48 UTC], ["updated_at", 2016-11-28 11:14:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (29.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (395.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_path", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:00 UTC], ["updated_at", 2016-11-28 11:15:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (32.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (392.8ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:15:45 UTC], ["updated_at", 2016-11-28 11:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:45 UTC], ["updated_at", 2016-11-28 11:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (13.1ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:15:45 UTC], ["updated_at", 2016-11-28 11:15:45 UTC]]
[1m[35m (1.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:16:06 UTC], ["updated_at", 2016-11-28 11:16:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-11-28 11:16:06 UTC], ["updated_at", 2016-11-28 11:16:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:16:06 UTC], ["updated_at", 2016-11-28 11:16:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (26.8ms)
[1m[35m (7.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (10.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (523.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:16:47 UTC], ["updated_at", 2016-11-28 11:16:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-11-28 11:16:47 UTC], ["updated_at", 2016-11-28 11:16:47 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:16:47 UTC], ["updated_at", 2016-11-28 11:16:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
[1m[35m (1.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (54.2ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (608.5ms)
[1m[35m (56.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (11.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (10.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:32:26 UTC], ["updated_at", 2016-11-28 11:32:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-11-28 11:32:26 UTC], ["updated_at", 2016-11-28 11:32:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:32:26 UTC], ["updated_at", 2016-11-28 11:32:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (21.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (416.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-28 11:32:47 UTC], ["updated_at", 2016-11-28 11:32:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-11-28 11:32:47 UTC], ["updated_at", 2016-11-28 11:32:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-28 11:32:47 UTC], ["updated_at", 2016-11-28 11:32:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (19.3ms)
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (393.5ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 12:00:55 UTC], ["updated_at", 2016-11-28 12:00:55 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 12:01:01 UTC], ["updated_at", 2016-11-28 12:01:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 12:01:07 UTC], ["updated_at", 2016-11-28 12:01:07 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 12:07:27 UTC], ["updated_at", 2016-11-28 12:07:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 12:07:44 UTC], ["updated_at", 2016-11-28 12:07:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (18.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (81.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (54.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:23:07 UTC], ["updated_at", 2016-11-28 14:23:07 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:24:06 UTC], ["updated_at", 2016-11-28 14:24:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:24:12 UTC], ["updated_at", 2016-11-28 14:24:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:24:26 UTC], ["updated_at", 2016-11-28 14:24:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:25:15 UTC], ["updated_at", 2016-11-28 14:25:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (5.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:26:37 UTC], ["updated_at", 2016-11-28 14:26:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:30:16 UTC], ["updated_at", 2016-11-28 14:30:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (12.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (22.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-28 14:40:54 UTC], ["updated_at", 2016-11-28 14:40:54 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (157.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (469.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (58.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (20.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (31.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 15:07:23 UTC], ["updated_at", 2016-11-28 15:07:23 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (24.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (171.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (433.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (26.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (38.7ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (26.8ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (27.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:02 UTC], ["updated_at", 2016-11-28 16:18:02 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (126.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (638.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (51.8ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (62.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (24.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (36.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (40.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (43.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (16.2ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (185.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:22 UTC], ["updated_at", 2016-11-28 16:18:22 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (122.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (547.7ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (18.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:18:32 UTC], ["updated_at", 2016-11-28 16:18:32 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (163.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (899.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (15.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (17.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (28.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (17.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (30.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (40.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (23.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (39.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (32.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:19:20 UTC], ["updated_at", 2016-11-28 16:19:20 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (133.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (333.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (11.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (27.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:19:31 UTC], ["updated_at", 2016-11-28 16:19:31 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (139.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (511.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (34.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (22.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (29.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (40.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (15.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:21:15 UTC], ["updated_at", 2016-11-28 16:21:15 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (165.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (567.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (28.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:22:14 UTC], ["updated_at", 2016-11-28 16:22:14 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (229.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (742.4ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (17.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (24.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (35.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (40.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (13.4ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (19.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (23.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (22.3ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 16:37:14 UTC], ["updated_at", 2016-11-28 16:37:14 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (212.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (476.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (21.3ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (31.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (23.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (11.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (25.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161124214746')[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 19:47:17 UTC], ["updated_at", 2016-11-28 19:47:17 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (18.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (179.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (1052.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (47.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (11.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (34.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:25:25 UTC], ["updated_at", 2016-11-28 22:25:25 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (127.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (448.7ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (38.3ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (23.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:25:37 UTC], ["updated_at", 2016-11-28 22:25:37 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (173.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (427.5ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (11.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (15.9ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:29:22 UTC], ["updated_at", 2016-11-28 22:29:22 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (159.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (372.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (28.3ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (14.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-28 22:30:24 UTC], ["updated_at", 2016-11-28 22:30:24 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (143.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (351.5ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (35.6ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (25.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (23.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 11:01:24 UTC], ["updated_at", 2016-11-30 11:01:24 UTC]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (126.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (37.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (19.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (27.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (2.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.7ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (5.2ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (12.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.8ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (2.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.9ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (44.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbMessages (20161128200709)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.3ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128200709"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbClients (20161128221919)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (43.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128221919"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 11:03:01 UTC], ["updated_at", 2016-11-30 11:03:01 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-30 11:04:32 UTC], ["updated_at", 2016-11-30 11:04:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (8.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-11-30 11:04:32 UTC], ["updated_at", 2016-11-30 11:04:32 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-11-30 11:04:32 UTC], ["updated_at", 2016-11-30 11:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (8.6ms)
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (9.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (8194.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-11-30 11:04:40 UTC], ["updated_at", 2016-11-30 11:04:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (23.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (106.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["currency", "EUR"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35mSQL (13.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 14.0ms | ActiveRecord: 1.8ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"2", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 2]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 30ms (Views: 14.1ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.2ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"4", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 4]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 2], ["locale", "en"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (7.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 5], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.9ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (97.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 10], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 12]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 11:04:41 UTC], ["updated_at", 2016-11-30 11:04:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["currency", "EUR"], ["created_at", 2016-11-30 11:04:49 UTC], ["updated_at", 2016-11-30 11:04:49 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-11-30 11:04:49 UTC], ["updated_at", 2016-11-30 11:04:49 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["currency", "EUR"], ["created_at", 2016-11-30 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-11-30 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL AND ("pwb_props"."id" != $1) LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("currency", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["currency", "EUR"], ["created_at", 2016-11-29 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-11-30 11:05:24 UTC], ["updated_at", 2016-11-30 11:05:24 UTC], ["title", "A property for "]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (8.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (1.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:15:58 UTC], ["updated_at", 2016-11-30 11:15:58 UTC]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-11-30 11:15:58 UTC], ["updated_at", 2016-11-30 11:15:58 UTC], ["title", "A property for "]]
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:15:58 UTC], ["updated_at", 2016-11-30 11:15:58 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-11-30 11:15:58 UTC], ["updated_at", 2016-11-30 11:15:58 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bed"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bed"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:17:47 UTC], ["updated_at", 2016-11-30 11:17:47 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-11-30 11:17:47 UTC], ["updated_at", 2016-11-30 11:17:47 UTC], ["title", "A property for "]]
[1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:17:47 UTC], ["updated_at", 2016-11-30 11:17:47 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-11-30 11:17:47 UTC], ["updated_at", 2016-11-30 11:17:47 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bathrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Prop Load (1.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
[1m[35mSQL (13.0ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 7]]
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 7]]
[1m[35m (6.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 8]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 8]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 8]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 9]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 9]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 9]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 10]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 10]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 10]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 11]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 11]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 11]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:25:22 UTC], ["updated_at", 2016-11-30 11:25:22 UTC]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-11-30 11:25:22 UTC], ["updated_at", 2016-11-30 11:25:22 UTC], ["title", "A property for "]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:25:22 UTC], ["updated_at", 2016-11-30 11:25:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-11-30 11:25:22 UTC], ["updated_at", 2016-11-30 11:25:22 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 12]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 12]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 13]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 13]]
[1m[35m (5.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (10.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:27:01 UTC], ["updated_at", 2016-11-30 11:27:01 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-11-30 11:27:01 UTC], ["updated_at", 2016-11-30 11:27:01 UTC], ["title", "A property for "]]
[1m[35m (2.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:27:01 UTC], ["updated_at", 2016-11-30 11:27:01 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-11-30 11:27:01 UTC], ["updated_at", 2016-11-30 11:27:01 UTC], ["title", "A property for "]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 14]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 14]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 15]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 15]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:42:51 UTC], ["updated_at", 2016-11-30 11:42:51 UTC]]
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-11-30 11:42:51 UTC], ["updated_at", 2016-11-30 11:42:51 UTC], ["title", "A property for "]]
[1m[35m (2.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:42:51 UTC], ["updated_at", 2016-11-30 11:42:51 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-11-30 11:42:51 UTC], ["updated_at", 2016-11-30 11:42:51 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 16]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 16]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 17]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 17]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (7.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 11:45:38 UTC], ["updated_at", 2016-11-30 11:45:38 UTC]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-11-30 11:45:38 UTC], ["updated_at", 2016-11-30 11:45:38 UTC], ["title", "A property for "]]
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 11:45:38 UTC], ["updated_at", 2016-11-30 11:45:38 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-11-30 11:45:38 UTC], ["updated_at", 2016-11-30 11:45:38 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 18]]
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 18]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 19]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 19]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (6.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (7.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (12.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"20", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (6.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 20]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 88ms (Views: 22.1ms | ActiveRecord: 14.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"21", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 14ms (Views: 5.6ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:09 UTC], ["updated_at", 2016-11-30 14:06:09 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 22]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 23]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 79ms (Views: 21.1ms | ActiveRecord: 7.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"24", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 12ms (Views: 5.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"25", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:16 UTC], ["updated_at", 2016-11-30 14:06:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 25]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/about_us.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/about_us.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 20ms (Views: 9.0ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 26], ["locale", "en"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"26", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 74ms (Views: 23.7ms | ActiveRecord: 6.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 27], ["locale", "en"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"27", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 27]]
Completed 500 Internal Server Error in 23ms (ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 28], ["locale", "en"], ["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"28", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:24 UTC], ["updated_at", 2016-11-30 14:06:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 28]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 23ms (Views: 6.6ms | ActiveRecord: 3.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 29], ["locale", "en"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"29", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 86ms (Views: 21.9ms | ActiveRecord: 9.1ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 30], ["locale", "en"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"30", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 30]]
Completed 500 Internal Server Error in 22ms (ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 31], ["locale", "en"], ["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"31", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:06:38 UTC], ["updated_at", 2016-11-30 14:06:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 31]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 5.5ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 32], ["locale", "en"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"32", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 32]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 107ms (Views: 24.2ms | ActiveRecord: 11.9ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 33], ["locale", "en"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"33", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 33]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 6.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 34], ["locale", "en"], ["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"34", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-11-30 14:07:48 UTC], ["updated_at", 2016-11-30 14:07:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 7.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 14:10:35 UTC], ["updated_at", 2016-11-30 14:10:35 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 35], ["locale", "en"], ["created_at", 2016-11-30 14:10:35 UTC], ["updated_at", 2016-11-30 14:10:35 UTC], ["title", "A property for "]]
[1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 14:10:35 UTC], ["updated_at", 2016-11-30 14:10:35 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 36], ["locale", "en"], ["created_at", 2016-11-30 14:10:35 UTC], ["updated_at", 2016-11-30 14:10:35 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 35]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 35]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 36]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 36]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 14:11:17 UTC], ["updated_at", 2016-11-30 14:11:17 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 37], ["locale", "en"], ["created_at", 2016-11-30 14:11:17 UTC], ["updated_at", 2016-11-30 14:11:17 UTC], ["title", "A property for "]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 14:11:17 UTC], ["updated_at", 2016-11-30 14:11:17 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 38], ["locale", "en"], ["created_at", 2016-11-30 14:11:17 UTC], ["updated_at", 2016-11-30 14:11:17 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 37]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 37]]
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 38]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 38]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 14:12:24 UTC], ["updated_at", 2016-11-30 14:12:24 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 39], ["locale", "en"], ["created_at", 2016-11-30 14:12:24 UTC], ["updated_at", 2016-11-30 14:12:24 UTC], ["title", "A property for "]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 14:12:24 UTC], ["updated_at", 2016-11-30 14:12:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 40], ["locale", "en"], ["created_at", 2016-11-30 14:12:24 UTC], ["updated_at", 2016-11-30 14:12:24 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 39]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 39]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 40]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 40]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-11-30 14:12:59 UTC], ["updated_at", 2016-11-30 14:12:59 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 41], ["locale", "en"], ["created_at", 2016-11-30 14:12:59 UTC], ["updated_at", 2016-11-30 14:12:59 UTC], ["title", "A property for "]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-11-30 14:12:59 UTC], ["updated_at", 2016-11-30 14:12:59 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 42], ["locale", "en"], ["created_at", 2016-11-30 14:12:59 UTC], ["updated_at", 2016-11-30 14:12:59 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 41]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 41]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 42]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 42]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (173.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (327.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (26.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (28.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:23:58 UTC], ["updated_at", 2016-11-30 14:23:58 UTC]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (128.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (355.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (25.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:24:36 UTC], ["updated_at", 2016-11-30 14:24:36 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (126.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (341.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161128221919')[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:25:13 UTC], ["updated_at", 2016-11-30 14:25:13 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (134.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (502.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161130141845')[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:34:50 UTC], ["updated_at", 2016-11-30 14:34:50 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (125.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (346.4ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161130141845')[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:35:00 UTC], ["updated_at", 2016-11-30 14:35:00 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (132.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (384.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161130141845')[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:39:15 UTC], ["updated_at", 2016-11-30 14:39:15 UTC]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (158.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (377.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (28.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (27.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (14.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (6.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161130141845')[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-11-30 14:47:27 UTC], ["updated_at", 2016-11-30 14:47:27 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (126.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (346.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (11.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (7.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (13.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (47.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (8.5ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (2.9ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (15.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbMessages (20161128200709)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.7ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128200709"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbClients (20161128221919)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.6ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128221919"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFeatures (20161130141845)
[1m[35m (11.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key")[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161130141845"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-01 19:35:12 UTC], ["updated_at", 2016-12-01 19:35:12 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (4.5ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_features'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (3.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC], ["title", "A property for "]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (12.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 1]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 1]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 2]]
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 2]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (12.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 2], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (18.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 2]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 3], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (11.2ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 1]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (6.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (159.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 7], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 8], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.1ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 8]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 11], ["locale", "en"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-01 19:40:49 UTC], ["updated_at", 2016-12-01 19:40:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.1ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (3182.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (15.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (49.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 3]]
Completed 500 Internal Server Error in 32ms (ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:40:52 UTC], ["updated_at", 2016-12-01 19:40:52 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"4", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 27ms (Views: 19.2ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 5]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 29ms (Views: 9.0ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 12.4ms | ActiveRecord: 3.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:40:53 UTC], ["updated_at", 2016-12-01 19:40:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35mSQL (11.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 74ms (Views: 22.2ms | ActiveRecord: 6.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"7", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 20ms (Views: 7.7ms | ActiveRecord: 2.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"8", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:45:07 UTC], ["updated_at", 2016-12-01 19:45:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 8]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"9", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 9]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 76ms (Views: 20.7ms | ActiveRecord: 6.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"10", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 10]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"11", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:31 UTC], ["updated_at", 2016-12-01 19:46:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 13ms (Views: 5.4ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"12", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 12]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 77ms (Views: 23.6ms | ActiveRecord: 6.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"13", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 13ms (Views: 5.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"14", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-01 19:46:41 UTC], ["updated_at", 2016-12-01 19:46:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 14]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.8ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-types"], ["visible", true]]
[1m[36mPwb::FieldKey Load (8.3ms)[0m [1m[34mSELECT "pwb_field_keys".* FROM "pwb_field_keys"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-types"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (13.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (19.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (28.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-01 22:27:26 UTC], ["updated_at", 2016-12-01 22:27:26 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-12-01 22:27:26 UTC], ["updated_at", 2016-12-01 22:27:26 UTC], ["title", "A property for "]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-01 22:27:26 UTC], ["updated_at", 2016-12-01 22:27:26 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-12-01 22:27:26 UTC], ["updated_at", 2016-12-01 22:27:26 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:27:33 UTC], ["updated_at", 2016-12-01 22:27:33 UTC]]
[1m[35m (2.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Prop Load (1.3ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-types"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:33:26 UTC], ["updated_at", 2016-12-01 22:33:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Prop Load (1.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:33:27 UTC], ["updated_at", 2016-12-01 22:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:35:04 UTC], ["updated_at", 2016-12-01 22:35:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:35:31 UTC], ["updated_at", 2016-12-01 22:35:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-01 22:36:17 UTC], ["updated_at", 2016-12-01 22:36:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (7.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (4.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:42:51 UTC], ["updated_at", 2016-12-04 13:42:51 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 406 Not Acceptable in 288ms (ActiveRecord: 44.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (7.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (1.1ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 14], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.9ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 14]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 15], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 13]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (119.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 19], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 19]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 20], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 20]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 21]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 22]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (59.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 23], ["locale", "en"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 406 Not Acceptable in 184ms (ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-04 13:43:20 UTC], ["updated_at", 2016-12-04 13:43:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (2.9ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (448.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 41ms (Views: 16.2ms | ActiveRecord: 5.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"17", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 28ms (Views: 15.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"18", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 18]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 20ms (Views: 6.5ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"19", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:43:21 UTC], ["updated_at", 2016-12-04 13:43:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 19]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (6.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"20", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 20]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 91ms (Views: 27.0ms | ActiveRecord: 7.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"21", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.3ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 22]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 1.9ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-04 13:48:36 UTC], ["updated_at", 2016-12-04 13:48:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (524.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 26], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 26]]
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 27], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (4.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 25]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (110.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 31], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 32], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 32]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 28ms (Views: 10.5ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 22ms (Views: 8.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (16.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (51.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 36], ["locale", "en"], ["created_at", 2016-12-04 13:48:37 UTC], ["updated_at", 2016-12-04 13:48:37 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:48:46 UTC], ["updated_at", 2016-12-04 13:48:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 88ms (Views: 14.0ms | ActiveRecord: 10.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 13:49:02 UTC], ["updated_at", 2016-12-04 13:49:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 87ms (Views: 13.4ms | ActiveRecord: 8.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-04 14:00:01 UTC], ["updated_at", 2016-12-04 14:00:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 90ms (Views: 13.9ms | ActiveRecord: 11.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (19.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (26.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (11.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (37.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (2.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (6.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (5.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 119ms (Views: 21.0ms | ActiveRecord: 26.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-05 22:23:37 UTC], ["updated_at", 2016-12-05 22:23:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.4ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (537.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 38], ["locale", "en"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.9ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 23]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 35ms (Views: 19.0ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"24", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 24]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"25", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (1.6ms)
Completed 200 OK in 21ms (Views: 9.5ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (21.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (53.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 20ms (Views: 6.7ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:38 UTC], ["updated_at", 2016-12-05 22:23:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 40], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 41], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 42]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 43]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (72.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-05 22:23:39 UTC], ["updated_at", 2016-12-05 22:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 45], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 46], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 48]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (18.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (157.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (365.6ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (27.2ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161130141845')[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-05 22:30:15 UTC], ["updated_at", 2016-12-05 22:30:15 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (7.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (171.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (348.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 05:50:45 UTC], ["updated_at", 2016-12-06 05:50:45 UTC]]
[1m[35m (7.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (179.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (419.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (25.3ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:28:00 UTC], ["updated_at", 2016-12-06 06:28:00 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (134.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (786.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (23.2ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (34.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (11.5ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (17.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (43.1ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (12.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (17.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (45.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (31.1ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (19.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (37.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (25.4ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (16.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (30.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (33.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (17.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (19.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (13.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (14.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (39.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (21.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (31.6ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (26.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (23.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (6.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (48.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:34:37 UTC], ["updated_at", 2016-12-06 06:34:37 UTC]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (130.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (348.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (17.2ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (28.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (46.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (39.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (40.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (26.8ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (41.8ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (25.3ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (27.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (17.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (39.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (24.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (40.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (20.8ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:36:00 UTC], ["updated_at", 2016-12-06 06:36:00 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (135.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (366.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (23.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.5ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (25.0ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (45.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (52.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (28.0ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (20.0ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (21.5ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (26.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (19.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (13.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (11.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (11.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (37.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 06:40:53 UTC], ["updated_at", 2016-12-06 06:40:53 UTC]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (6.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (160.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (369.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (45.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (61.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (27.9ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "agency_id" integer, "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 21:01:59 UTC], ["updated_at", 2016-12-06 21:01:59 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (130.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (439.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (28.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (20.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (11.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (8.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (22.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.1ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (3.3ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.0ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.6ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (14.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbMessages (20161128200709)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.8ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128200709"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbClients (20161128221919)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128221919"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFeatures (20161130141845)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.5ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161130141845"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to DeviseCreatePwbUsers (20161205223003)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (13.9ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161205223003"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-06 21:03:48 UTC], ["updated_at", 2016-12-06 21:03:48 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.1ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_features'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.1ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.5ms)[0m [1m[34mSELECT 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 = 'pwb_users'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (6.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (8.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (12.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (12.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 1]]
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 1]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 2]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 2]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 101ms (Views: 27.2ms | ActiveRecord: 8.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (2.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 2], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"3", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 33ms (Views: 21.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"4", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 4]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 23ms (Views: 9.3ms | ActiveRecord: 2.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (5.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 5]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 20ms (Views: 7.5ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (46.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (81.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:04:33 UTC], ["updated_at", 2016-12-06 21:04:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.0ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (8132.2ms)
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (1.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (11.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 5], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 7]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms)
[1m[36mPwb::Content::Translation Load (0.8ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (144.9ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 10], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 12]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (15.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:04:42 UTC], ["updated_at", 2016-12-06 21:04:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (12.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 13], ["locale", "en"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 6]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.2ms)
Completed 200 OK in 113ms (Views: 37.3ms | ActiveRecord: 7.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"7", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"8", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 8]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.8ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (496.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 30ms (Views: 15.4ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:27 UTC], ["updated_at", 2016-12-06 21:21:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (50.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 16], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 17], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 18]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 19]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (85.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 21], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 21]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 22], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 22]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 23]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 24]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC], ["title", "A property for "]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 9]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 9]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 10]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 10]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:28 UTC], ["updated_at", 2016-12-06 21:21:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:40 UTC], ["updated_at", 2016-12-06 21:21:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 26], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 26]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 27], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 25]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (118.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 31], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 32], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 32]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 86ms (Views: 19.8ms | ActiveRecord: 10.9ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (8.5ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (540.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (60.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 36], ["locale", "en"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:21:41 UTC], ["updated_at", 2016-12-06 21:21:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC], ["title", "A property for "]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 11]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 11]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 12]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 12]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"13", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 13]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 37ms (Views: 21.6ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"14", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 17ms (Views: 8.7ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"15", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:42 UTC], ["updated_at", 2016-12-06 21:21:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 15]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"16", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 45ms (Views: 27.3ms | ActiveRecord: 4.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"17", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 17]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 7.2ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"18", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 18]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.7ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.1ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (434.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:21:49 UTC], ["updated_at", 2016-12-06 21:21:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (15.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (47.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 35ms (Views: 15.3ms | ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.8ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 38], ["locale", "en"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 40], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 41], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 42]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 43]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (77.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 45], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 46], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 47]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 48]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC], ["title", "A property for "]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-12-06 21:21:50 UTC], ["updated_at", 2016-12-06 21:21:50 UTC], ["title", "A property for "]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 19]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 19]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 20]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 20]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (25.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (86.9ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"21", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 21]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.0ms)
Completed 200 OK in 48ms (Views: 25.5ms | ActiveRecord: 3.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 17ms (Views: 6.2ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 23]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:22:59 UTC], ["updated_at", 2016-12-06 21:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 50], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 50]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 51], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 51]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 52]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 53]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 49]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (105.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 55], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 55]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 56], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (1.0ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 56]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 57]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 58]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (27.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (38.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 59], ["locale", "en"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (414.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 24]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 24]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 25]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 25]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 13.6ms | ActiveRecord: 2.2ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:00 UTC], ["updated_at", 2016-12-06 21:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 97ms (Views: 22.5ms | ActiveRecord: 10.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.4ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (502.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:39 UTC], ["updated_at", 2016-12-06 21:23:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 63], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 63]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 64], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 64]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 65]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 66]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 62]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (111.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 68], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 68]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 69], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 69]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 70]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 71]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 26], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"26", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 26]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 33ms (Views: 17.7ms | ActiveRecord: 2.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 27], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"27", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 28], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"28", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 28]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (29.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (61.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 29], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["title", "A property for "]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 30], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 29]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 29]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 30]]
[1m[35mSQL (3.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 30]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 72], ["locale", "en"], ["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.blank') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.blank.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.blank') OR "key" LIKE 'activerecord.errors.models.pwb/user.blank.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.blank') OR "key" LIKE 'activerecord.errors.messages.blank.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.blank') OR "key" LIKE 'errors.attributes.email.blank.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.password') OR "key" LIKE 'activerecord.attributes.pwb/user.password.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.password') OR "key" LIKE 'attributes.password.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.password.blank') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.password.blank.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.password.blank') OR "key" LIKE 'errors.attributes.password.blank.%')[0m [["locale", "en"]]
[1m[35m (2.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:23:40 UTC], ["updated_at", 2016-12-06 21:23:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:14 UTC], ["updated_at", 2016-12-06 21:42:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 74], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 74]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 75], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 75]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 76]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 77]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 73]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (114.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 79], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 79]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 80], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 80]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 81]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 82]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.2ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.5ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (513.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 31], ["locale", "en"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC], ["title", "A property for "]]
[1m[35m (11.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 32], ["locale", "en"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 31]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 31]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.2ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 32]]
[1m[35mSQL (1.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 32]]
[1m[35m (5.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (50.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 33], ["locale", "en"], ["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"33", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:15 UTC], ["updated_at", 2016-12-06 21:42:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 39ms (Views: 29.2ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 34], ["locale", "en"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"34", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 34]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 24ms (Views: 7.5ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 35], ["locale", "en"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"35", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 35]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (25.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$D7VbzNIedjEvMe2GmLOfZurjvf7p2G7BHfllyb4cQ8CR2sVyFip2C"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$tYQJ9P7waCtQrEEpgvspwuV7zOaurBZlo/6zn.1vcl/F0rcbloFQm"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$pDn8MN6XQe2k0MJd/fBMPOFQYQtCBEL3/zg2ebQBM7g9TLWoxWQua"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 83], ["locale", "en"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 27ms (Views: 13.1ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:16 UTC], ["updated_at", 2016-12-06 21:42:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$4Ii8jSKZvlrIE6575yDn4.B4ZCvFmqTfgl2fp3WAJvlQ.oTMo5wBS"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Tf4EDCb.rU28Dslu4b8XN.d/mHuI.XZz/ZENujQF/HiOjJqM3uwp6"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$bFsWgKHom9w5QIN8FL84w.ITwS4WRK2NqoG8IloMYvuDhVfYN/kSS"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 64ms (Views: 12.2ms | ActiveRecord: 5.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:42:49 UTC], ["updated_at", 2016-12-06 21:42:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (13.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (695.4ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (65.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 86], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 86]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 87], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 87]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 88]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 89]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 85]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (104.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 91], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 91]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 92], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 92]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 93]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 94]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 44ms (Views: 19.5ms | ActiveRecord: 5.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 16ms (Views: 1.9ms | ActiveRecord: 1.8ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 36], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"36", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 36], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 36]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.1ms)
Completed 200 OK in 56ms (Views: 27.2ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 37], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"37", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 18ms (Views: 7.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 38], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"38", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 38]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 20ms (Views: 0.9ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 96], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 39], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 40], ["locale", "en"], ["created_at", 2016-12-06 21:42:50 UTC], ["updated_at", 2016-12-06 21:42:50 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 39]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 39]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 40]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 40]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (7.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ieVPClhH9Z/blL52tcaiieM1.SAqXNP4oAQCRzJ47pegWTUkMKEhi"], ["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$rrJdQPJze9zo4nt2bsfcLuA1ijDEh.Yl93KkpBLDvZctQ4xxM/p7K"], ["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 71ms (Views: 13.0ms | ActiveRecord: 7.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ycTyRZroKJdsG4KPPX2Z/uVLQlFFEcdXseKAPO4KpKlOEklNnEwSK"], ["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:07 UTC], ["updated_at", 2016-12-06 21:57:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]
[1m[35mSQL (7.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 41], ["locale", "en"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC], ["title", "A property for "]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 42], ["locale", "en"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 41]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 41]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 42]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 42]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:57:39 UTC], ["updated_at", 2016-12-06 21:57:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.5ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (466.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 98], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 98]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 99], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 99]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 100]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 101]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 97]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (95.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 103], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 103]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 104], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 104]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 105]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 106]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$PQnh1cUBTI55N8SR/OjXO.4lp.PjfMGmFC/NsbfPdMVoCJv9Qc9Ae"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Gx08nJmWtbLZzMDypXeeEeehSOgOP36sBVbxiiJ1sxcR0sL7Yj00K"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 20ms (Views: 7.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$DrA.ZiIRJTV1TZNAYHOqYu4t5EDr1Oi0OY83ApqY/Ewt1T5WX4QIy"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 43], ["locale", "en"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"43", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 33ms (Views: 22.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 44], ["locale", "en"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"44", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 44], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 44]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 22ms (Views: 8.4ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 45], ["locale", "en"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"45", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 45]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 30ms (Views: 13.7ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:57:40 UTC], ["updated_at", 2016-12-06 21:57:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (51.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 108], ["locale", "en"], ["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:41 UTC], ["updated_at", 2016-12-06 21:57:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$g/R8dG6hagm438T8ZXNeWOZ//BLkfr7MPd4VeqQLVlK7rDt0bWciy"], ["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$AimpP0Zx/zhjIBd.FeU4oeq63oP8byA5KU7tlsPfcQoXcxdtqUTKq"], ["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 68ms (Views: 11.5ms | ActiveRecord: 7.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$61M4UMvMItoYkzeUKBxWv..PcNRqvREfNOqn8a8Pk2rZI5UZizHzm"], ["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:47 UTC], ["updated_at", 2016-12-06 21:57:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 110], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 110]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 111], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 111]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 112]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 113]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 109]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (5.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (130.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 115], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 115]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 116], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 116]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 117]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 118]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 46], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"46", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 46]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 34ms (Views: 20.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 47], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"47", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 5.6ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 48], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"48", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 48]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (16.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (44.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 49], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 50], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 49]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 49]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 50]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 50]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 119], ["locale", "en"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (338.3ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 27ms (Views: 13.3ms | ActiveRecord: 1.6ms)
[1m[35m (2.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:57:48 UTC], ["updated_at", 2016-12-06 21:57:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 3.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (16.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (55.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 50ms (Views: 16.5ms | ActiveRecord: 6.4ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 123], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 123]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 124], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 124]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 125]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 126]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 122]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (118.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 128], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 128]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 129], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 129]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 130]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 131]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (15.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 21:58:55 UTC], ["updated_at", 2016-12-06 21:58:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.8ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (444.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 132], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$I9sl6J0u0cv.NxuLYOwxE.DB.d/chwRRM6lC5KDUbNYhQBd0psaL2"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$M82QH1yjJ5b/HqVxu7L03OwY1Xg9oZiHPsejMn6mU2mx89aREvKEK"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 22ms (Views: 7.6ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$hZa4QdrielyxUVAI8P.zOenmM0.BtK1MNHvVlTa0wzI.eXTxNaYl."], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 51], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"51", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 51]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 17.7ms | ActiveRecord: 2.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 52], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"52", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 15ms (Views: 6.6ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 53], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"53", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 53]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 54], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 55], ["locale", "en"], ["created_at", 2016-12-06 21:58:56 UTC], ["updated_at", 2016-12-06 21:58:56 UTC], ["title", "A property for "]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 54]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 54]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 55]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 55]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$3sHJNax8l8xipJ27a0bVxujodjWNGWUyVTeM2Dtq6JNSJ5iELmTlm"], ["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$mwzwSPmpYakwIP28k1omLe4bhRF/Xh8eU6C29YHtx97NuNGRzLyQe"], ["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 73ms (Views: 10.2ms | ActiveRecord: 7.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:29 UTC], ["updated_at", 2016-12-06 21:59:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$leSaijB3eMSpwq5GD.0EIOvQNPejE45vcSCQCOYMFA6HtZmS0z9hi"], ["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$yhEPQfjca5TneJilKaWNLOwmECAB1BXgahqvgwVb6zZrd6r5AIUfK"], ["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 70ms (Views: 10.4ms | ActiveRecord: 6.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:35 UTC], ["updated_at", 2016-12-06 21:59:35 UTC]]
[1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$66DFppNeMQCtanW3xpLMI.eCLPFcJMi1pZpoEn/i6dW6RyJDi0S2."], ["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Yoca4xTFKx/MAmDQnmEjnuNlLP519i9kXoRPXhEuRQDkEXKvgz4vK"], ["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 69ms (Views: 14.1ms | ActiveRecord: 6.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 21:59:58 UTC], ["updated_at", 2016-12-06 21:59:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$qtnxGp7I4.GBYluIqb0s7.COEZLsVykrRmgMF92D7w.Jm/n7zcGxC"], ["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$IGoRzDmxpO1IloaNbznm/uYm1ASpGWaQIL.TQkjqZRBvZhrZHRmWW"], ["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 73ms (Views: 12.1ms | ActiveRecord: 6.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:00:04 UTC], ["updated_at", 2016-12-06 22:00:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$VCv8jVLVSO7pu01fiXCoDO0.yFXbUxT/CK0hMaZ.r8NCPuMyWIZNS"], ["created_at", 2016-12-06 22:01:38 UTC], ["updated_at", 2016-12-06 22:01:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$iU1.QGUDYxOkl4QTedH56eX3BNfpBJLG1AEFnPjfH5phNRT9eJujO"], ["created_at", 2016-12-06 22:01:38 UTC], ["updated_at", 2016-12-06 22:01:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:01:38 UTC], ["updated_at", 2016-12-06 22:01:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 73ms (Views: 12.6ms | ActiveRecord: 6.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$TZa2VtFevhsuefhR2PBrDOr0k1LtucipM4edjLo0XzcxBkJ/5Wzda"], ["created_at", 2016-12-06 22:01:45 UTC], ["updated_at", 2016-12-06 22:01:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Ir0a9nr1WsbYdxZDsVacfuAsXXo8Bnw3fHMVK604S4rNdu.MmsFfq"], ["created_at", 2016-12-06 22:01:45 UTC], ["updated_at", 2016-12-06 22:01:45 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:01:45 UTC], ["updated_at", 2016-12-06 22:01:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 73ms (Views: 10.5ms | ActiveRecord: 6.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ZGD9pyAyT.nMheLgvCKBzOrVz/MbU7vSDuzUr.t9Ua5WMfMeApT9e"], ["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 66ms (Views: 10.1ms | ActiveRecord: 6.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$LwHcMLxenhziAOu/ZW0KoO60v7Sq9CKk1qTagsgLIloaR/DZXglNm"], ["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$7CEwzIfvHD0QKP9s2354tORMoWm/GjQPS0nOI.R/txWsz0qBW/NvK"], ["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:02:38 UTC], ["updated_at", 2016-12-06 22:02:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$tiZtVbWhHhCOXkZ8/Qyl.eT28iU2tTjfh97RmADdcX4n/c2Z3ptaS"], ["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 67ms (Views: 10.4ms | ActiveRecord: 6.9ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$x33QWD5pos7RB9AjBjaEdObakIqIGgjK/.MSxDWtJsNoxbS8p0QtC"], ["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$bBsTOP9PhjnyTZibyYu4y.oMtRXSjAcbFAt3knNefHXZ5/NRz4nS6"], ["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:02:44 UTC], ["updated_at", 2016-12-06 22:02:44 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 80ms (Views: 11.9ms | ActiveRecord: 9.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$HTNmUlftyiBtuim4m35/WueAjn2LvIQlptICiUddMgDGIr0Szxpz."], ["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$OjhFHu7zFpsFiqhpEVUXZOE2tHl9EYEhyY4TP2x0SsdpR40lcUmqC"], ["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:04:51 UTC], ["updated_at", 2016-12-06 22:04:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 85ms (Views: 12.2ms | ActiveRecord: 8.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$16j9Fnn9U7noIJR3F16LeeRQ5ICU1.RsqAh3Vv/OnZ9Sg41FesCYa"], ["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$s9L5Nac8lBgAy/g3Zo3Tjuns71GYl5jN9TYSGjrXTv0RmuK2soc.C"], ["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:05:35 UTC], ["updated_at", 2016-12-06 22:05:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 77ms (Views: 10.1ms | ActiveRecord: 9.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$KqWtn5VUpsr8ccGRnf2WvOe0cvyxLyP2zIfnvbdY3kgswDrldpFku"], ["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$OQTbDK738wI7sW5v8nBGh.xNQ2hLx3to1CbjtYj.lY6n417/y8Jgi"], ["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:05:41 UTC], ["updated_at", 2016-12-06 22:05:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 73ms (Views: 12.9ms | ActiveRecord: 8.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2Iij4nyl7agJm5FyPb2kjubNdU5GQ9MpdcgbRmbVPA5SsnbTQJ/fS"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$bdfnc/RdJinaXTU2RE20OOEZKvBiGABN3AnVEpeH4ivc80T60Rqym"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 22:08:51 UTC], ["updated_at", 2016-12-06 22:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.7ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (589.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 56], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"56", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 56]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 41ms (Views: 23.8ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 57], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"57", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 57]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.5ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 58], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"58", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 58], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 20ms (Views: 7.9ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 59], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["title", "A property for "]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 60], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 59]]
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 59]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 60]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 60]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 31ms (Views: 11.3ms | ActiveRecord: 3.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 134], ["locale", "en"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 136], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 136]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 137], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 137]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 138]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 139]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 135]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (85.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 141], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 141]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 142], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 142]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 143]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 144]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:08:52 UTC], ["updated_at", 2016-12-06 22:08:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (24.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (54.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$CdeDNmBQh5bx647twr8nEur50EONHL0qeLRUXLiwmlBCMmM7AASf."], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$pPV8ZYbNKhhwOBwN5Etp9OFd78HmynifEFkmy3Ab8G.10iVvfCRxe"], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 61ms (Views: 10.9ms | ActiveRecord: 5.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 22:09:10 UTC], ["updated_at", 2016-12-06 22:09:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.8ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (457.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (57.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 50ms (Views: 16.9ms | ActiveRecord: 6.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 2.4ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 61], ["locale", "en"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"61", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 61], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 61]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 32ms (Views: 16.6ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 62], ["locale", "en"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"62", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 62], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 62]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 63], ["locale", "en"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"63", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 63], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 17ms (Views: 6.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:11 UTC], ["updated_at", 2016-12-06 22:09:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 147], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 147]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 148], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 148]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 149]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 150]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms)
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 146]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (105.9ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 152], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 152]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 153], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 153]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 154]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 155]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (19.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 64], ["locale", "en"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC], ["title", "A property for "]]
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 65], ["locale", "en"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 64]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 64]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 65]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 65]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 156], ["locale", "en"], ["created_at", 2016-12-06 22:09:12 UTC], ["updated_at", 2016-12-06 22:09:12 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 158], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 158]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 159], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 159]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 160]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 161]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 157]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (119.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 163], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 163]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 164], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 164]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 165]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 166]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (27.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (67.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:04 UTC], ["updated_at", 2016-12-06 22:16:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 70ms (Views: 24.6ms | ActiveRecord: 12.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.9ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (503.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 66], ["locale", "en"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC], ["title", "A property for "]]
[1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 67], ["locale", "en"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 66]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 66]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 67]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 67]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 168], ["locale", "en"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 68], ["locale", "en"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"68", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 68], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 27ms (Views: 17.4ms | ActiveRecord: 2.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 69], ["locale", "en"], ["created_at", 2016-12-06 22:16:05 UTC], ["updated_at", 2016-12-06 22:16:05 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"69", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 69], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 69]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 7.6ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 70], ["locale", "en"], ["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"70", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:06 UTC], ["updated_at", 2016-12-06 22:16:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 70], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 70]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 71], ["locale", "en"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"71", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 71], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 95ms (Views: 30.6ms | ActiveRecord: 7.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 72], ["locale", "en"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"72", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 72], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 72]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 24ms (Views: 7.1ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 73], ["locale", "en"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"73", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 73], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 73]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 19ms (Views: 2.0ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 52ms (Views: 26.9ms | ActiveRecord: 2.5ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (35.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (91.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:27 UTC], ["updated_at", 2016-12-06 22:16:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 171], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 171]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 172], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 172]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 173]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 174]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 170]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (97.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 176], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 176]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 177], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 177]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 178]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 179]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (33.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 74], ["locale", "en"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC], ["title", "A property for "]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 75], ["locale", "en"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 74]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 74]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 75]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 75]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 180], ["locale", "en"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC], ["raw", "MyText"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 18ms (Views: 6.9ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 22:16:28 UTC], ["updated_at", 2016-12-06 22:16:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (4.9ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (339.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 76], ["locale", "en"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC], ["title", "A property for "]]
[1m[35m (1.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 77], ["locale", "en"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 76]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 76]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 77]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 77]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (20.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (56.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 40ms (Views: 16.4ms | ActiveRecord: 2.9ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 78], ["locale", "en"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"78", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 78], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 27ms (Views: 16.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 79], ["locale", "en"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"79", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 79], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 79]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 21ms (Views: 6.6ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 80], ["locale", "en"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"80", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 80], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 80]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 0.8ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-06 22:16:36 UTC], ["updated_at", 2016-12-06 22:16:36 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (399.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (7.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 183], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 183]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 184], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 184]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 185]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 186]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 182]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (92.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 188], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 188]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 189], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 189]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 190]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 191]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 192], ["locale", "en"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 21ms (Views: 7.0ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-06 22:16:37 UTC], ["updated_at", 2016-12-06 22:16:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (20.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (5.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (64.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 08:19:24 UTC], ["updated_at", 2016-12-07 08:19:24 UTC]]
[1m[35m (6.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 08:19:24 UTC], ["updated_at", 2016-12-07 08:19:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 08:19:24 UTC], ["updated_at", 2016-12-07 08:19:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.3ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (574.8ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 193], ["locale", "en"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 44ms (Views: 16.0ms | ActiveRecord: 5.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 196], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 196]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 197], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 197]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 198]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 199]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 195]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (92.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 201], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 201]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 202], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 202]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 203]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 204]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (19.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (24.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (57.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 81], ["locale", "en"], ["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"81", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:25 UTC], ["updated_at", 2016-12-07 08:19:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 81]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 35ms (Views: 19.8ms | ActiveRecord: 3.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 82], ["locale", "en"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"82", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 82], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 12ms (Views: 5.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 83], ["locale", "en"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"83", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 83], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 83]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 84], ["locale", "en"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC], ["title", "A property for "]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 85], ["locale", "en"], ["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.1ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 84]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 84]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 85]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 85]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 19ms (Views: 8.3ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:19:26 UTC], ["updated_at", 2016-12-07 08:19:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 87ms (Views: 11.9ms | ActiveRecord: 8.6ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:20:08 UTC], ["updated_at", 2016-12-07 08:20:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 76ms (Views: 11.4ms | ActiveRecord: 7.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:25:04 UTC], ["updated_at", 2016-12-07 08:25:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 92ms (Views: 13.4ms | ActiveRecord: 12.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (8.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$hy/C8uH63TL/CYcpLK.uPOjMcLs7ksT3hcX1/L88o/vz2ZylV0o0S"], ["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$K.2kSNtdvs6uS8KpV7hyM.I3HXDXrX4i2QRdBRvOLBw1eNMrZBdpO"], ["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:25:42 UTC], ["updated_at", 2016-12-07 08:25:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:26:19 UTC], ["updated_at", 2016-12-07 08:26:19 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 118ms (Views: 17.7ms | ActiveRecord: 11.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$MAuibQKp7pnbNYJZZLNjQuoEi8FWFevsHCzRVHy/hS6p46Fgda1H."], ["created_at", 2016-12-07 08:26:20 UTC], ["updated_at", 2016-12-07 08:26:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$DoQbQyOGbZljxcc3qmxE0uhYeWH9RavchicI63x.c952WHWJY2M7m"], ["created_at", 2016-12-07 08:26:20 UTC], ["updated_at", 2016-12-07 08:26:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 08:26:20 UTC], ["updated_at", 2016-12-07 08:26:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 12ms (Views: 0.7ms | ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (12.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (25.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 121ms (Views: 13.7ms | ActiveRecord: 50.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (8.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$NcxAxxnciCZKB19yDoCANObuy.vq3CwO2Uxic8wdQVYYnV8.N923e"], ["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$YcZKtBqo.EQy/IKpKV8zguh9kDnIZw9cdIsPw5AvsCv1M5EMVFqt."], ["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:03:45 UTC], ["updated_at", 2016-12-07 10:03:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 82ms (Views: 11.3ms | ActiveRecord: 8.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$NsbqJjzuWYgVzm.vbg17D.uLbFs3D3LJT6EQeGackx8JWvinWwN3m"], ["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 53], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$QoqZhWiROl5SzkqVXRER6OKQXtCL.NNsEf08of7asC6nwriZJsAfe"], ["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$mAJLnu5iOBx6MimEfaqj2OIDE87Y/frd37YR4DHVQkRl2xszzlq9C"], ["created_at", 2016-12-07 10:04:23 UTC], ["updated_at", 2016-12-07 10:04:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$4LE8sAGoF9yjMVLcdu6/SePWj47QkILjnGGLql12/jNiSQIpHhfjC"], ["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 72ms (Views: 12.1ms | ActiveRecord: 6.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ACVd78bimWUy8cTOuYw7LeNL9apyEM.3bKGVcbuuCPpjSjyVpnrvS"], ["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2Ci5faBY353kxJGxRwO7v.EeA3/4Vb7.0uAZqDegcXmWJx9rt2rWu"], ["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:04:30 UTC], ["updated_at", 2016-12-07 10:04:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:11:07 UTC], ["updated_at", 2016-12-07 10:11:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 80ms (Views: 11.5ms | ActiveRecord: 8.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2ynJXD1uW7NcWMfTbuBbveRHMGiUzFKkdWLMDH52v35nHFV8oCI8."], ["created_at", 2016-12-07 10:11:08 UTC], ["updated_at", 2016-12-07 10:11:08 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$M1oboNrtCvnex/DGtgfsqe0JA9f0ic45M2ZTqreHisLhyt0JgdOly"], ["created_at", 2016-12-07 10:11:08 UTC], ["updated_at", 2016-12-07 10:11:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:11:08 UTC], ["updated_at", 2016-12-07 10:11:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 82ms (Views: 11.1ms | ActiveRecord: 9.7ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$LBPfm/51ii/JcZv5bOzH0.Q6LChDylyFzEATz7ZwNDHeRK8M.XikC"], ["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 61], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$vapLiW8zhRYP/scnUatG9.6/P690W/yjL.zE3FQTfeROCNOI8OG8S"], ["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:11:14 UTC], ["updated_at", 2016-12-07 10:11:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (8.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (6.8ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 206], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 206]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 207], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 207]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 208]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 209]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 205]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (109.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 211], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 211]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 212], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 212]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 213]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 214]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 215], ["locale", "en"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:13:08 UTC], ["updated_at", 2016-12-07 10:13:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.7ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (534.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (65.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 47ms (Views: 20.7ms | ActiveRecord: 5.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 1.9ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 19ms (Views: 7.4ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (9.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$XujQV/3Kif6efPCtH1hviOkfJYwT00Odql0YpgzECeQM07R2ZDye2"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 63], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$yOsqD6tzft5MsVzSa2vqseAJ14Kv0RlS4KmKoEcvsp01.gU7En2Ku"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (11.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 86], ["locale", "en"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC], ["title", "A property for "]]
[1m[35m (10.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 87], ["locale", "en"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (2.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 86]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 86]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 87]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 87]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 88], ["locale", "en"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"88", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 88], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 88]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 35ms (Views: 17.5ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 89], ["locale", "en"], ["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"89", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:09 UTC], ["updated_at", 2016-12-07 10:13:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 89], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 89]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 90], ["locale", "en"], ["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"90", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 90], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 19ms (Views: 8.7ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$wf.fZZ/6B/tSHr8PSao5v.YPMLH5YZjD3kDWAdz9tneTXPV8tLmly"], ["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 65], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$1HGPTgc1nkshV1ao5G38HeSpmJa81fIXwWHALjpcf.JL7JI9fd2Y."], ["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:10 UTC], ["updated_at", 2016-12-07 10:13:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:16 UTC], ["updated_at", 2016-12-07 10:13:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 95ms (Views: 21.2ms | ActiveRecord: 13.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 16ms (Views: 6.2ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$PqNoywxnWjeJHYZoChiPreVt6CwQzGUWtyx8Mmf2UJ06wiBjL28km"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 67], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$7bK7b6hRX5d.1729H.YzUu2iJqiylcjAyDyF4pE/epTWBVC.bAScC"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (22.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (67.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$gpKXyGcBdSv8gzGOR/yRnOKoFSuDI3yUst8xFRvTVnozMNgLIU4ii"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 69], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$3Vi.nuqnQIqsIxlTu/2GeO4tMdMcnlEz1QFj.A.oBxu6XDqYgJdF2"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 218], ["locale", "en"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 220], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 220]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 221], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 221]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 222]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 223]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 219]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (79.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 225], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 225]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 226], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 226]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 227]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 228]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.4ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:13:17 UTC], ["updated_at", 2016-12-07 10:13:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (346.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 91], ["locale", "en"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 92], ["locale", "en"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 91]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 91]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 92]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 92]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 93], ["locale", "en"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"93", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 93], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 25ms (Views: 15.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 94], ["locale", "en"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"94", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 94], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 94]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 16ms (Views: 6.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 95], ["locale", "en"], ["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"95", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:18 UTC], ["updated_at", 2016-12-07 10:13:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 95], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 95]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 72ms (Views: 12.6ms | ActiveRecord: 7.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$GAvDJUA/Lft8VG7Nb5KzT.CD3oAPbzlJ/E1LB7EzdOiJ5D0xc/2t2"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 71], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$lka6utt8fC6e3LKIrXM18eRERkYV68jnKhu.uCm1eBbHnjoZnE/PO"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.2ms)
Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$hh4MmR2NLhuoCU1LGSnB5OB.Fwacs8YbUNM1Hc1htIKEldO5Myq9y"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 73], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$1iDmXvVxbaed7qM9zsYo.uAJnqPirUjXUQOViB/l.OvHsiAx5AjFe"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 96], ["locale", "en"], ["created_at", 2016-12-07 10:13:53 UTC], ["updated_at", 2016-12-07 10:13:53 UTC], ["title", "A property for "]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 97], ["locale", "en"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 96]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 96]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 97]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 97]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 98], ["locale", "en"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"98", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 98], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 98]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 42ms (Views: 22.8ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 99], ["locale", "en"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"99", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 99], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 99]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 14ms (Views: 1.9ms | ActiveRecord: 2.4ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 100], ["locale", "en"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"100", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 100], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 40ms (Views: 7.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (29.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (83.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.8ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (414.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:54 UTC], ["updated_at", 2016-12-07 10:13:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 230], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 230]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 231], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 231]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 232]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 233]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.9ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 229]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (119.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 235], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 235]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 236], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 236]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 237]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 238]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 30ms (Views: 12.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 240], ["locale", "en"], ["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:13:55 UTC], ["updated_at", 2016-12-07 10:13:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 68ms (Views: 13.4ms | ActiveRecord: 6.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$EL.65gp5/k2IL9sswb6rLuUx5K7q9eHQPQnytm3Crwqvc/e1CojIe"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 75], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$o2NJdvmBM3LQBIpRj/o4xub6BbII0ZQShb7z.EuniPUcCu6oI8QDa"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:14:02 UTC], ["updated_at", 2016-12-07 10:14:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.8ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (447.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 101], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["title", "A property for "]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 102], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 101]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 101]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 102]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 102]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 43ms (Views: 21.7ms | ActiveRecord: 3.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 242], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.1ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$TtkFlqj06XCa99jRwsDR6uZ41MrZw/DrYFWkygD6aG3JyXQBS/q8i"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 77], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$E8H9OaaYwAQSeU117MzK0ujO9Ak/nEHowxGARPPePUaGRFJGGdBcu"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (52.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 103], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"103", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 103], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 103]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 34ms (Views: 18.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 104], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"104", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 104], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.4ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 105], ["locale", "en"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"105", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 105], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 105]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 244], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 244]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 245], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 245]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 246]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 247]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 243]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (89.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:03 UTC], ["updated_at", 2016-12-07 10:14:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 249], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 249]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 250], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 250]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 251]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 252]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (9.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:21 UTC], ["updated_at", 2016-12-07 10:14:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 148ms (Views: 25.6ms | ActiveRecord: 14.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$wmY6.3kHrdZpvfE1LXrLkePqCIA7t19Ey0N.7QwdFn.GiiSm9fhnG"], ["created_at", 2016-12-07 10:14:21 UTC], ["updated_at", 2016-12-07 10:14:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 79], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$bU4.zZSCXrcsdo6dTYkmy.0Xpdrn3aIEMreKzMuU8wl9I5Q58qpd2"], ["created_at", 2016-12-07 10:14:22 UTC], ["updated_at", 2016-12-07 10:14:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:14:22 UTC], ["updated_at", 2016-12-07 10:14:22 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 33ms (Views: 16.0ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$INZNX05Tq73M5Gp2YyieXuv3Y5e7a8ckc1A4m66AzYTavMmGEc0c6"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2lhiU5xvXXDq38grm6eqMeejf5dIj.e1vMoYefcoE3VqEM3poSkpO"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 106], ["locale", "en"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC], ["title", "A property for "]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 107], ["locale", "en"], ["created_at", 2016-12-07 10:15:14 UTC], ["updated_at", 2016-12-07 10:15:14 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 106]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 106]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 107]]
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 107]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 253], ["locale", "en"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.1ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (451.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (16.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (47.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (2.8ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 53ms (Views: 27.6ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.4ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$7cL9SW4Xy2yF5LqdVQZ91.WgnlTLHvXMt0E5BNxxpan5vF2ifDhpi"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 83], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$XBU87cf.FxfDdl8dETjVzuPsYy0I//6z9yIWJtg0zAxWLkqNnEume"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 108], ["locale", "en"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"108", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 108], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 43ms (Views: 29.7ms | ActiveRecord: 2.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 109], ["locale", "en"], ["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"109", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (2.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:15 UTC], ["updated_at", 2016-12-07 10:15:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 109], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 109]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 28ms (Views: 7.4ms | ActiveRecord: 6.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 110], ["locale", "en"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"110", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 110], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 110]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 256], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 256]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 257], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 257]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 258]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 259]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 255]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (80.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:16 UTC], ["updated_at", 2016-12-07 10:15:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 261], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 261]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 262], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 262]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 263]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 264]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (9.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 78ms (Views: 14.9ms | ActiveRecord: 6.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$QrGIHkJob3qAFhgJn4/RNuKBRIrFwwRk79F0v1vvPEO6BcZ2sYfuu"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$UzPIcke66bDkiIjnSt3IwuAjeOkBW49C8dNwhnIzeOHJHkV4Lpzbq"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 111], ["locale", "en"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC], ["title", "A property for "]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 112], ["locale", "en"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 111]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 111]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 112]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 112]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (24.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (67.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$aZCpGhhFX0YopG0JLXN.Q.lB61WQRI7Kfzt5XoHZOso.hLZvTXmBu"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 87], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$JEC0n4M4Iij28qfdt8SeDuuj.uQE4Pkded4/HyKNi/3bNHwY8ihGC"], ["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:23 UTC], ["updated_at", 2016-12-07 10:15:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 34ms (Views: 16.5ms | ActiveRecord: 2.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$aV3f3mCtaHY9fPVFamomrubbltYP8iREezE6CkgKBNNrkTPP1jVMi"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.5ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (546.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 267], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 267]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 268], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 268]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 269]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 270]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 266]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (92.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 272], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 272]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 273], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 273]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 274]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 275]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 276], ["locale", "en"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 113], ["locale", "en"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"113", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 113], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 113]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 17.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 114], ["locale", "en"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"114", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 114], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 13ms (Views: 6.4ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 115], ["locale", "en"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"115", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 115], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 115]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:15:24 UTC], ["updated_at", 2016-12-07 10:15:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$HtunAAcnv35okA08v2JmoOcDBymITACsXkRzaZUNGXvvye97W4CJO"], ["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 71ms (Views: 11.5ms | ActiveRecord: 5.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$oJdVeyCwk46R/UWGAmj0MOGPQuy/9BDEuYNPFLIZ4KGYsEevV8nbO"], ["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 91], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ze27mUa4fZeD3KzxMD10e.kfZHX7cBJT.RQuOED5GKgiKIVO1fED2"], ["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:15:31 UTC], ["updated_at", 2016-12-07 10:15:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$vGm9Zm6nib6z3AN2tlMyy.nj.6vz9vvmoFUUHSJwpqXpvj1lxdJ4S"], ["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:17:16 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:17:16 UTC], ["last_sign_in_at", 2016-12-07 10:17:16 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:17:16 UTC], ["id", 93]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 87ms (Views: 12.1ms | ActiveRecord: 5.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$3/BbMtyAN3SNz0t724zcxudGU70YZBGpyyBgFUMwzY/KBQey.Hxv."], ["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 94], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$u2n5ipwdM5nz4vrmMROoruLYEzbPHuiWoK4TRwDGm.owtxqXVKdRO"], ["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:17:16 UTC], ["updated_at", 2016-12-07 10:17:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:18:59 UTC], ["updated_at", 2016-12-07 10:18:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 84ms (Views: 11.8ms | ActiveRecord: 9.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$6xeFVCjXQ6HQ/rzcX7weUeTFte3LF2vr6mAGvtry2U87j4kvz5CDS"], ["created_at", 2016-12-07 10:19:00 UTC], ["updated_at", 2016-12-07 10:19:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 96], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$HHMkKv/SBt5TTn9L93hv9uIf40tgi.drGKdZYrB5NIXoatSL2Xny2"], ["created_at", 2016-12-07 10:19:00 UTC], ["updated_at", 2016-12-07 10:19:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:19:00 UTC], ["updated_at", 2016-12-07 10:19:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$KzccLIopWAhKKb.KxvPOSOc6aKHKzivtP3eaajnRQDzfnI.Q6pv/."], ["created_at", 2016-12-07 10:19:00 UTC], ["updated_at", 2016-12-07 10:19:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:19:00 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:19:00 UTC], ["last_sign_in_at", 2016-12-07 10:19:00 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:19:00 UTC], ["id", 98]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$V1CRosii6WibNnFK5NVnK.djk5Sz30Ggjuvrf2J/CQorHLbmOqSW."], ["created_at", 2016-12-07 10:21:52 UTC], ["updated_at", 2016-12-07 10:21:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:21:52 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:21:52 UTC], ["last_sign_in_at", 2016-12-07 10:21:52 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:21:52 UTC], ["id", 99]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.8ms)
Completed 200 OK in 119ms (Views: 17.7ms | ActiveRecord: 16.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$LrLb7tABYR9RCjgXGyxrTOO7EBGMp.iw7PF9NvkJHi2JbElkVO3Ny"], ["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 100], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$i.i3xFvSvep4yjN0oPdzyelH/UoODdqosXiZeNEJ1Sb.jGVqOo6HC"], ["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:25:39 UTC], ["updated_at", 2016-12-07 10:25:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$7p84nmsBgYjANAo8/R6Ug.7VSCuvnQrnTuIgzMlMI.Xcf18gH2n4i"], ["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 83ms (Views: 11.8ms | ActiveRecord: 8.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Rkk2bEMFyX3gI1.ty2IA6.oDvVTLxB0YHMg.K/lkXXfKT3gtJ0WEq"], ["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 103], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$l85ozH/cx6YqGn3rBaIWgO6S3ZlBcPh9sBFpiAcVCuhu7XOID3SzW"], ["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:25:48 UTC], ["updated_at", 2016-12-07 10:25:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$NaflxkcjUjJQzX2Bvzz72e.YTBx6bZJaxPgJqM4iou9/rA.yw74Fu"], ["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 75ms (Views: 12.4ms | ActiveRecord: 6.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$s/9gVwzlXVAPrMzAQnexhehNJ.NsWD5si0YDTnRz9JYWDO5JnMQ.C"], ["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 106], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$xkrdoF6yo5m0iE/lbP0az.qgdLc3IbRIPXhQSwJJIey7FoDXQiR1e"], ["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:26:03 UTC], ["updated_at", 2016-12-07 10:26:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 21ms (Views: 1.0ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 74ms (Views: 11.4ms | ActiveRecord: 8.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$N2ECNjX4jPXmz.Eq67gFOue6vLvHgMpNRnDjjCjYj3i7HMya6GU1G"], ["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 108], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$BFJa0kWpyINM57hXEiT1semDlKlEJWQ13GsxzdTu4GSkS2IRwNp6C"], ["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:27:32 UTC], ["updated_at", 2016-12-07 10:27:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:30:48 UTC], ["updated_at", 2016-12-07 10:30:48 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 116], ["locale", "en"], ["created_at", 2016-12-07 10:30:48 UTC], ["updated_at", 2016-12-07 10:30:48 UTC], ["title", "A property for "]]
[1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:30:48 UTC], ["updated_at", 2016-12-07 10:30:48 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 117], ["locale", "en"], ["created_at", 2016-12-07 10:30:48 UTC], ["updated_at", 2016-12-07 10:30:48 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 116]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 116]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 117]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 117]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 278], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 278]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 279], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 279]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 280]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 281]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.0ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 277]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (104.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 283], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 283]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 284], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 284]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 285]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 286]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (1.1ms)
Completed 200 OK in 38ms (Views: 19.6ms | ActiveRecord: 2.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 22ms (Views: 9.5ms | ActiveRecord: 1.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Ab7ueT/FIQL.uvLkmjnSw.1DGVEcXbHi1S9C4hctjFzQxIBD7DryC"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 110], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Q0GNMVdUOU/ESS/CduD1ZOO4CBYXBsmQq6Mdeuaj7DzZpp2MYnoeO"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:30:49 UTC], ["updated_at", 2016-12-07 10:30:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (13.8ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (6.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (843.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$a8lB1pBgUJmEJWU9IM93d.1b6dZXDoAb.wC/e4ZEDet/tfvPx.CuS"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (4.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 112], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (2.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$UbEPZmn8dSsmQSfKJLcrmeTt7x6ULr0Kx8hQ.Jhpf/Z/vT6smKX3K"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (27.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (74.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 288], ["locale", "en"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 118], ["locale", "en"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"118", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 118], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (2.8ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 118]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 71ms (Views: 47.0ms | ActiveRecord: 5.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 119], ["locale", "en"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"119", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 119], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 19ms (Views: 9.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 120], ["locale", "en"], ["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"120", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:50 UTC], ["updated_at", 2016-12-07 10:30:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 120], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 120]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 89ms (Views: 12.1ms | ActiveRecord: 9.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$3I.KLnK7Pl1qrYCGxi5/oeVEit3yFXTVmWxIV5XI1Lnq8tY5GBSsK"], ["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 114], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$NK6.1xuCWQNIhebq94.4auccp061l2BjvN4VYHVY.PRxq7xq0pje6"], ["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:30:58 UTC], ["updated_at", 2016-12-07 10:30:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 79ms (Views: 12.0ms | ActiveRecord: 8.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$dD2LDoxV3Rf2sq9JAtttlObTyNk8zKTFGcnhSoCwmV666fiiCr5Zi"], ["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 116], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$l.Kpijw1C47SB03BoYSdZecaYS3VT7/FJuFqmp366NRc8/DqyAFd6"], ["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:31:26 UTC], ["updated_at", 2016-12-07 10:31:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:32:39 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 78ms (Views: 11.6ms | ActiveRecord: 7.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$auXM6Kvpc8.a/P0E17fU8e5vG0j9c8LpxlbEgeoRc0uOeg49js3r."], ["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 118], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$fr4EDj/c7ZlNHnSV.DLV7euM3s85Uog.xuuRaHITtFVHUFiHdnjd."], ["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:32:39 UTC], ["updated_at", 2016-12-07 10:32:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 121], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"121", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 121], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 121]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.9ms)
Completed 200 OK in 108ms (Views: 32.6ms | ActiveRecord: 8.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 122], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"122", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 122], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 122]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 2.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 123], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"123", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 123], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 15ms (Views: 6.5ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 20ms (Views: 7.4ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$aR76O3sRjCuFMqPKO7dWGuzmDjkOXGejCNT5pF1kbHGFO09NaDk2u"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 120], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$iPgQuv4dJKfdp2H4j0udZOGNJNjAOfImuej8CBGbWkaDmugCCjY3u"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 290], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 290]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 291], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 291]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 292]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 293]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 289]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (119.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 295], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 295]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 296], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 296]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 297]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 298]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (18.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (50.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 124], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["title", "A property for "]]
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 125], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 124]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 124]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 125]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 125]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 299], ["locale", "en"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$syO0ZkAI/6bU4/qpLVzX.eERvxsadI4fkQLtvsbONJ7JJ9G/CWzZC"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 122], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$MQagGpAh4KSK8lWZJir.WuAJiHhF9iP9UXlPPDOsZKvCo4YLe.eMu"], ["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:27 UTC], ["updated_at", 2016-12-07 10:33:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:33:28 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 17.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:33:28 UTC], ["updated_at", 2016-12-07 10:33:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (4.1ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (442.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:34:12 +0100
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 110ms (Views: 26.5ms | ActiveRecord: 12.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$6fXzNvYR0UFDshnEJilpi.Gpf5xq3tIgXFWK3aoyy42nfo52qBpiO"], ["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 124], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$MjHFjumE849K2p7/KD3wkOGEjFloN0tQBxuhXDDgt2tEWGUBwWMG."], ["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:34:12 UTC], ["updated_at", 2016-12-07 10:34:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 81ms (Views: 12.3ms | ActiveRecord: 8.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$olE67HFybVKdBnwhP8oCoe4LMX6eI9VduE3wFHi/e/1IJv24HUhd2"], ["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 126], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ZvE4YCD4Hd2LWMF/pSjpUu1EqyNz1Qwlug9ZrVAA0hCWwXoRLsb/a"], ["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$uY6kKTJl..1ajvIVeg1Fku/yQiFbWge.qgLpEGzuPQVYfopMtpAIS"], ["created_at", 2016-12-07 10:34:33 UTC], ["updated_at", 2016-12-07 10:34:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:36:54 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:36:54 UTC], ["last_sign_in_at", 2016-12-07 10:36:54 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:36:54 UTC], ["id", 128]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:36:54 UTC], ["updated_at", 2016-12-07 10:36:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (3.2ms)
Completed 200 OK in 560ms (Views: 549.2ms | ActiveRecord: 1.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:36:55 +0100
[1m[35m (1.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 301], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 69ms (Views: 13.1ms | ActiveRecord: 6.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$TdpfAXXSNQdnOi1ttSH9kuqt.2nWaJlwwI4VZNixo2PaaDZuNgXI6"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 129], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$6jL9HmkVcgRf793EXcK8c.9zy1i5PmjAU41/g9RuhH/AAAJuuCcnS"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 126], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"126", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 126], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 37ms (Views: 24.1ms | ActiveRecord: 1.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 127], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"127", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 127], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 127]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 21ms (Views: 7.0ms | ActiveRecord: 2.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 128], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"128", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 128], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 128]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 34ms (Views: 1.6ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 303], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 303]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 304], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 304]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 305]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 306]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 302]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (82.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 308], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 308]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 309], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 309]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 310]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 311]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (11.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Nn5hyxt/WW3rlbeidpsoP.s1OS3d/7jElw62xbVfvwt/K73fdX.HC"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 131], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$vVsejnTkvEcYWHYX0x4zvuZnw1WaDiqtuLtYsEoIOVBxkk5QUmyLO"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 28ms (Views: 12.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 129], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["title", "A property for "]]
[1m[35m (2.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 130], ["locale", "en"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 129]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 129]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 130]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 130]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:37:46 UTC], ["updated_at", 2016-12-07 10:37:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.9ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (487.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (14.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (46.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$sZ8LT8lqjyvogBmdC17Nh.Yv8jznqW6boWwFDkEFUcIbNJRLVw/Um"], ["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:47 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:37:47 UTC], ["last_sign_in_at", 2016-12-07 10:37:47 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:37:47 UTC], ["id", 133]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 16ms (Views: 7.0ms | ActiveRecord: 1.6ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:47 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:47 UTC], ["updated_at", 2016-12-07 10:37:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$VQFxErFwM/H0jzAfuV8s9.G/KbdW4CzKIpMDnBKInUXSoF7gsevoO"], ["created_at", 2016-12-07 10:37:56 UTC], ["updated_at", 2016-12-07 10:37:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:37:56 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:37:56 UTC], ["last_sign_in_at", 2016-12-07 10:37:56 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:37:56 UTC], ["id", 134]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:37:56 UTC], ["updated_at", 2016-12-07 10:37:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.9ms)
Completed 200 OK in 518ms (Views: 457.4ms | ActiveRecord: 7.2ms)
[1m[36mPwb::Section Load (2.3ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:38:33 +0100
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 19ms (Views: 8.2ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$00bSQ7B.BcOKjmHW.uaQOO5wKQI0LbyOEJxUF.FScCBr89xxFCq8K"], ["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 135], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ENm84FyXncDXWM1/O9mw7Oi./hIPnwk9osXReGJT42E6OyWcecYYe"], ["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:38:33 UTC], ["updated_at", 2016-12-07 10:38:33 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (7.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$cNKaRdRoTlGVWzK7WFQGdedcFppn22C7FULhXGGoZx.ZunRhW5XxW"], ["created_at", 2016-12-07 10:52:04 UTC], ["updated_at", 2016-12-07 10:52:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:52:04 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:52:04 UTC], ["last_sign_in_at", 2016-12-07 10:52:04 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:52:04 UTC], ["id", 137]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:52:04 UTC], ["updated_at", 2016-12-07 10:52:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.3ms)
Completed 200 OK in 530ms (Views: 472.0ms | ActiveRecord: 6.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:53:08 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:53:16 UTC], ["updated_at", 2016-12-07 10:53:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (20.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (64.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:16 UTC], ["updated_at", 2016-12-07 10:53:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 24ms (Views: 7.3ms | ActiveRecord: 2.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$KMbd8rs4cNZZuDvW.Qj0qea8K/8/auRmWSRZBHSi6DVCvcK2Ninba"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 138], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$yIPdSU0TXyL.AaEmNfIMOuyFqg6KTTVrDivj20Gu1XNpntLS6K93a"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 131], ["locale", "en"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"131", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 131], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 131]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 51ms (Views: 31.6ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 132], ["locale", "en"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"132", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 132], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 16ms (Views: 7.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 133], ["locale", "en"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"133", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 133], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 133]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 19ms (Views: 0.9ms | ActiveRecord: 2.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$iotZFqnSE.wX6m7D/bL0f.Tj3nXoMn5qSQGgHmzZfYtBDQnDUmEFS"], ["created_at", 2016-12-07 10:53:17 UTC], ["updated_at", 2016-12-07 10:53:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:53:17 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:53:17 UTC], ["last_sign_in_at", 2016-12-07 10:53:17 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:53:17 UTC], ["id", 140]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 313], ["locale", "en"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 134], ["locale", "en"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC], ["title", "A property for "]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 135], ["locale", "en"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 134]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 134]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 135]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 135]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:53:40 UTC], ["updated_at", 2016-12-07 10:53:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (396.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 33ms (Views: 16.8ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 316], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 316]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 317], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 317]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 318]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 319]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 315]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (112.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 321], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 321]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 322], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 322]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 323]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 324]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:53:41 UTC], ["updated_at", 2016-12-07 10:53:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$tLd.W6J2.c0V9eWZFqy5tupLyOKMfQ03fAsu5JNUSs2w1rO1bRIMK"], ["created_at", 2016-12-07 10:53:49 UTC], ["updated_at", 2016-12-07 10:53:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:53:49 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:53:49 UTC], ["last_sign_in_at", 2016-12-07 10:53:49 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:53:49 UTC], ["id", 141]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 136], ["locale", "en"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"136", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 136], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 136]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 116ms (Views: 42.1ms | ActiveRecord: 8.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 137], ["locale", "en"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"137", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 137], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 21ms (Views: 11.2ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 138], ["locale", "en"], ["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"138", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:08 UTC], ["updated_at", 2016-12-07 10:54:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 138], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 138]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 16ms (Views: 1.5ms | ActiveRecord: 3.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (732.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$h2cZIpuoTl1hts/ZOstI..QbTWFk0IzrvQb.67dEEmuyRfWPSeJtu"], ["created_at", 2016-12-07 10:54:09 UTC], ["updated_at", 2016-12-07 10:54:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:09 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:54:10 UTC], ["last_sign_in_at", 2016-12-07 10:54:10 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:54:10 UTC], ["id", 142]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 18ms (Views: 7.3ms | ActiveRecord: 1.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:10 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 35ms (Views: 18.0ms | ActiveRecord: 2.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 22ms (Views: 8.9ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$rOyNIUDzh1icdedlF2iVC.Blq8sNpY9ubGFmj3/ct.n73bYfIjiM2"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 143], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$f/9DKSeI/Z6XBAT7EMcQheHVOQBPU16d1YzQ6zaJ.8mIoWvRevzr."], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.2ms)
Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (57.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 326], ["locale", "en"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 139], ["locale", "en"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 140], ["locale", "en"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 139]]
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 139]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 140]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 140]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 328], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 328]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 329], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 329]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 330]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 331]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.3ms)
[1m[36mPwb::Content::Translation Load (0.8ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 327]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (85.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:10 UTC], ["updated_at", 2016-12-07 10:54:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 333], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 333]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 334], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 334]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 335]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 336]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$bNMmBsEePGZkIU0oXP13MOoGjdTESapcW9HiUiRygDqjHQvZWAYeO"], ["created_at", 2016-12-07 10:54:17 UTC], ["updated_at", 2016-12-07 10:54:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:17 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:54:17 UTC], ["last_sign_in_at", 2016-12-07 10:54:17 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:54:17 UTC], ["id", 145]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:17 UTC], ["updated_at", 2016-12-07 10:54:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.8ms)
Completed 200 OK in 454ms (Views: 397.4ms | ActiveRecord: 8.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:18 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (62.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 141], ["locale", "en"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 142], ["locale", "en"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 141]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 141]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 142]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 142]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:30 UTC], ["updated_at", 2016-12-07 10:54:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 338], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 338]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 339], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 339]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 340]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 341]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.0ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 337]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (92.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 343], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 343]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 344], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 344]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 345]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 346]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.0ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.8ms)
Completed 200 OK in 30ms (Views: 11.7ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$p25vQ2ikP8imo8SXNI6RTubJepnylgp7nxR74WRO4yP2yNO/6Xp5m"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 146], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$B1iNLEAdYsnMUjhDSnxX5eQrRBJZdK9AiLzjfbZHanzlFD2akU6yG"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$85EkavWHVI.ZX4fGWzacJ.NqkXDobEmvkct1V5E3R.t8YrAmh.QjC"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:31 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:54:31 UTC], ["last_sign_in_at", 2016-12-07 10:54:31 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:54:31 UTC], ["id", 148]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 294ms (Views: 285.4ms | ActiveRecord: 1.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:31 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 143], ["locale", "en"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"143", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 143], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 31ms (Views: 22.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 144], ["locale", "en"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"144", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 144], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 144]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 27ms (Views: 9.3ms | ActiveRecord: 3.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 145], ["locale", "en"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"145", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 145], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 145]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 347], ["locale", "en"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 28ms (Views: 12.7ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 2.1ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (4.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (66.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:31 UTC], ["updated_at", 2016-12-07 10:54:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 146], ["locale", "en"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC], ["title", "A property for "]]
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 147], ["locale", "en"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 146]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 146]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 147]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 147]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.0ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (449.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 22ms (Views: 7.9ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$n5YLRN.L1iROae6vdhR..OsBR8bf6aihx5ocsaW9TuQP9TGzE/pC2"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 149], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$yzZPM/4ZXPWvGz/FaS5gHu9A7aQSQJY/IIfmZ03H2eKbfgszIi/tW"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$XhJXLglnPbwRcnZ/8UgCs.kApv01w6hu2YZi9P74rzuC5x/yQi15W"], ["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:39 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:54:39 UTC], ["last_sign_in_at", 2016-12-07 10:54:39 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:54:39 UTC], ["id", 151]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 34ms (Views: 13.9ms | ActiveRecord: 2.2ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:54:39 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (2.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:39 UTC], ["updated_at", 2016-12-07 10:54:39 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 80ms (Views: 27.8ms | ActiveRecord: 10.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.6ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 148], ["locale", "en"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"148", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 148], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 148]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 35ms (Views: 21.5ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 149], ["locale", "en"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"149", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 149], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 149]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 150], ["locale", "en"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"150", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 150], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 18ms (Views: 7.9ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 351], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 351]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 352], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 352]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 353]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 354]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 350]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (98.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 356], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 356]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 357], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 357]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 358]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 359]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 360], ["locale", "en"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 10:54:40 UTC], ["updated_at", 2016-12-07 10:54:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (22.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (54.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$2HRB1kgj5OvCU9.qWhBYkOSPpg43HUMvZb7MNBo1X3t0vvJKxYtJm"], ["created_at", 2016-12-07 10:55:17 UTC], ["updated_at", 2016-12-07 10:55:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:55:17 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:55:17 UTC], ["last_sign_in_at", 2016-12-07 10:55:17 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:55:17 UTC], ["id", 152]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:55:17 UTC], ["updated_at", 2016-12-07 10:55:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.4ms)
Completed 200 OK in 490ms (Views: 433.0ms | ActiveRecord: 6.6ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:55:18 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (6.8ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$WhQ..ZFf86SUrUq/fcI/qO2ialpdNM1qe4PZNuBc3VARR8TnFDhCi"], ["created_at", 2016-12-07 10:56:38 UTC], ["updated_at", 2016-12-07 10:56:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:56:38 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:56:38 UTC], ["last_sign_in_at", 2016-12-07 10:56:38 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:56:38 UTC], ["id", 153]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:56:38 UTC], ["updated_at", 2016-12-07 10:56:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.5ms)
Completed 200 OK in 520ms (Views: 456.2ms | ActiveRecord: 6.8ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:56:39 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$qacXnasQyzjp96vqLn8zSua.0NRYD6BrPKXmN73Tdxdw6TfaieNlS"], ["created_at", 2016-12-07 10:58:08 UTC], ["updated_at", 2016-12-07 10:58:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:58:08 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 10:58:08 UTC], ["last_sign_in_at", 2016-12-07 10:58:08 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 10:58:08 UTC], ["id", 154]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:58:08 UTC], ["updated_at", 2016-12-07 10:58:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.5ms)
Completed 200 OK in 526ms (Views: 464.7ms | ActiveRecord: 6.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 11:58:08 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (4.0ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:58:34 UTC], ["updated_at", 2016-12-07 10:58:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 128ms (Views: 24.3ms | ActiveRecord: 15.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$eNIho/XJC.py5uN4Ql2.P.BSZb/anZWRfHqBuQHYYv4sSn.VIxgty"], ["created_at", 2016-12-07 10:58:34 UTC], ["updated_at", 2016-12-07 10:58:34 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 155], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$OYQB5BMvdEnLOHnhgPyGyO/MMQWjh8Ri42p.UnHCOsZyusA4bQtNu"], ["created_at", 2016-12-07 10:58:35 UTC], ["updated_at", 2016-12-07 10:58:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 10:58:35 UTC], ["updated_at", 2016-12-07 10:58:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:02:34 UTC], ["updated_at", 2016-12-07 11:02:34 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.1ms)
Completed 200 OK in 205665ms (Views: 48.8ms | ActiveRecord: 10.2ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$RN.AGRLzyD7c3QgZkerV3e/FCA0ozFbavifeoh4fQK.GJLcMA78wu"], ["created_at", 2016-12-07 11:06:00 UTC], ["updated_at", 2016-12-07 11:06:00 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$9B11EeHxrguWcdaEqw.o/e7ybZo9D4jA3n7xMLTd1UfW4NHyyTcCO"], ["created_at", 2016-12-07 11:06:00 UTC], ["updated_at", 2016-12-07 11:06:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:06:00 UTC], ["updated_at", 2016-12-07 11:06:00 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.9ms)
Completed 200 OK in 286120ms (Views: 96.3ms | ActiveRecord: 4.0ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 89ms (Views: 12.7ms | ActiveRecord: 13.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$w9yICuvTge08e1TkL3KYV.Jo38TWYubk.dWdZI6O5lq7nF/MRke8i"], ["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 159], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$nL9ozyasSs2qScLDO61YrOxSE0IW2muIl5oBPvkVWUWd1Oqr9q/CK"], ["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:11:03 UTC], ["updated_at", 2016-12-07 11:11:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$ufzItqU/EmDBwNZJSaVg.uS2n0dlnN3jzltrW9o1/c7THSkPt4Fyi"], ["created_at", 2016-12-07 11:12:58 UTC], ["updated_at", 2016-12-07 11:12:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:12:58 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:12:58 UTC], ["last_sign_in_at", 2016-12-07 11:12:58 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:12:58 UTC], ["id", 161]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:12:58 UTC], ["updated_at", 2016-12-07 11:12:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.3ms)
Completed 200 OK in 530ms (Views: 471.6ms | ActiveRecord: 6.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:12:58 +0100
[1m[35m (1.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$qOnbxtyEDUfWhSzzw3cKBOebnNUxqakyNVskQXgGgu2.KCp12IC8S"], ["created_at", 2016-12-07 11:13:43 UTC], ["updated_at", 2016-12-07 11:13:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:43 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:13:43 UTC], ["last_sign_in_at", 2016-12-07 11:13:43 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:13:43 UTC], ["id", 162]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:13:43 UTC], ["updated_at", 2016-12-07 11:13:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.3ms)
Completed 200 OK in 516ms (Views: 455.7ms | ActiveRecord: 6.1ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:43 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$JjsTzZxBT.1a.QWHmLh5meVS2q.paBc4gbEPAiEL7chKHXucffMVi"], ["created_at", 2016-12-07 11:13:50 UTC], ["updated_at", 2016-12-07 11:13:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:50 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:13:50 UTC], ["last_sign_in_at", 2016-12-07 11:13:50 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:13:50 UTC], ["id", 163]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:13:50 UTC], ["updated_at", 2016-12-07 11:13:50 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.8ms)
Completed 200 OK in 564ms (Views: 500.8ms | ActiveRecord: 6.7ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:13:51 +0100
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$mliK6WNA7jAvKBp/Nwfe7ePWMWNE7Tg7NOLe2RcR23TUDmw28NTBG"], ["created_at", 2016-12-07 11:14:24 UTC], ["updated_at", 2016-12-07 11:14:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:14:24 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:14:24 UTC], ["last_sign_in_at", 2016-12-07 11:14:24 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:14:24 UTC], ["id", 164]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:14:24 UTC], ["updated_at", 2016-12-07 11:14:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.4ms)
Completed 200 OK in 567ms (Views: 508.4ms | ActiveRecord: 6.3ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:14:24 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$fDrAqJie6msJjkxn0WSsQOGZUh4KQt7iJZF528ZuvD6TK3yv/my/i"], ["created_at", 2016-12-07 11:15:08 UTC], ["updated_at", 2016-12-07 11:15:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:15:08 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:15:08 UTC], ["last_sign_in_at", 2016-12-07 11:15:08 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:15:08 UTC], ["id", 165]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:15:08 UTC], ["updated_at", 2016-12-07 11:15:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.3ms)
Completed 200 OK in 519ms (Views: 459.6ms | ActiveRecord: 6.2ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:15:09 +0100
[1m[35m (1.0ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:15:09 UTC], ["updated_at", 2016-12-07 11:15:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:15:09 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:15:50 UTC], ["updated_at", 2016-12-07 11:15:50 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:15:50 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 1.9ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$hu8oyvnUxpXlI5K0c0j1FOkAt3pOpE/baWZq9dNe5t7ttbQR8Z0N."], ["created_at", 2016-12-07 11:46:18 UTC], ["updated_at", 2016-12-07 11:46:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:46:18 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:46:18 UTC], ["last_sign_in_at", 2016-12-07 11:46:18 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:46:18 UTC], ["id", 166]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:46:18 UTC], ["updated_at", 2016-12-07 11:46:18 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (3.6ms)
Completed 200 OK in 537ms (Views: 524.3ms | ActiveRecord: 1.6ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:46:19 +0100
[1m[35m (1.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:46:29 UTC], ["updated_at", 2016-12-07 11:46:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:46:29 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 2.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:47:03 UTC], ["updated_at", 2016-12-07 11:47:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:47:03 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (6.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 104ms (Views: 20.7ms | ActiveRecord: 18.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 151], ["locale", "en"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"151", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 151], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.7ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 151]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 34ms (Views: 19.6ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 152], ["locale", "en"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"152", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 152], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 152]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 2.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 153], ["locale", "en"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"153", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 153], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 6.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:14 UTC], ["updated_at", 2016-12-07 11:51:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 363], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 363]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 364], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 364]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 365]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 366]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 362]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (102.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 368], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 368]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 369], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 369]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 370]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 371]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 154], ["locale", "en"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC], ["title", "A property for "]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 155], ["locale", "en"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 154]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 154]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 155]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 155]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.9ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (404.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 18ms (Views: 7.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$TjqXh3uJFRQjJMLz80t4D.28NzHQ0Kf/BuHgLqyQgUQkCLTgCS0fC"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 167], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$gyQTB5HIAD0leQ4k30tE3.dBLbX5tJz27PPoHTCXkrZ4hl/tWQih."], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Mh92548hFVLdIKL3gixnY.2qj6N/lIenQSTvk1u34QuhEHqISP7HG"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:51:15 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:51:15 UTC], ["last_sign_in_at", 2016-12-07 11:51:15 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:51:15 UTC], ["id", 169]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 14ms (Views: 6.1ms | ActiveRecord: 1.3ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:51:15 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (13.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (44.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:51:15 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 372], ["locale", "en"], ["created_at", 2016-12-07 11:51:15 UTC], ["updated_at", 2016-12-07 11:51:15 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:51:45 UTC], ["updated_at", 2016-12-07 11:51:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:51:45 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 1.9ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 373], ["locale", "en"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (56.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 156], ["locale", "en"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"156", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 156], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 156]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 45ms (Views: 24.7ms | ActiveRecord: 3.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 157], ["locale", "en"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"157", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 16ms (Views: 6.5ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 158], ["locale", "en"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"158", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 158], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 158]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 11:52:12 UTC], ["updated_at", 2016-12-07 11:52:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (434.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 26ms (Views: 11.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 376], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 376]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 377], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 377]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 378]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 379]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 375]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (77.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 381], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 381]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 382], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 382]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 383]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 384]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$FR5daIZrjlEswIZesDnNBuPNn.zZ0A.vIUu7E2aHmf.eGJ9DbUyoi"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:52:13 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:52:13 UTC], ["last_sign_in_at", 2016-12-07 11:52:13 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:52:13 UTC], ["id", 170]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 16ms (Views: 6.4ms | ActiveRecord: 1.4ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:52:13 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.1ms)
Completed 200 OK in 25ms (Views: 9.5ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$XpdvyI223MYThuIeYvg0hu7ynccYChh4eft.8EFB5firmnOXLFrmS"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 171], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$noZkBCXN97cAmsDRWInH3.HwQj7X9BkiciWen7WLJva8E28SDtmfa"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 159], ["locale", "en"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 160], ["locale", "en"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC], ["title", "A property for "]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 159]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 159]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 160]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 160]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:52:13 UTC], ["updated_at", 2016-12-07 11:52:13 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:52:13 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:52:24 UTC], ["updated_at", 2016-12-07 11:52:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:52:24 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 19ms (Views: 1.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:52:42 UTC], ["updated_at", 2016-12-07 11:52:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:52:42 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 17ms (Views: 1.6ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (58.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 23ms (Views: 7.8ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$NO9ZryWB5AAe1bzwUfV1pu6Qs6TZiv2e4klYSbUoU9VRh24/dvFR2"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 173], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$8Lnrhi1FAAiEJzvtPKR5vOXJeMzsM1DW6xuXEsogxni26JLKzFj7C"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 161], ["locale", "en"], ["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"161", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:02 UTC], ["updated_at", 2016-12-07 11:53:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 161], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 161]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.2ms)
Completed 200 OK in 39ms (Views: 23.5ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 162], ["locale", "en"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"162", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 162], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 162]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 163], ["locale", "en"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"163", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 163], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 386], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 386]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 387], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 387]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 388]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 389]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 385]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (88.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 391], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 391]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 392], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 392]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 393]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 394]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$x2b3kED2YWzjMl3jnCvG2ux40jf7I2jYF0dfOGwwDIYJzgWDcp31e"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:53:03 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 11:53:03 UTC], ["last_sign_in_at", 2016-12-07 11:53:03 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 11:53:03 UTC], ["id", 175]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 335ms (Views: 326.9ms | ActiveRecord: 1.4ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 12:53:03 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 12:53:03 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 16.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.3ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 396], ["locale", "en"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 164], ["locale", "en"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 165], ["locale", "en"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 164]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 164]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 165]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 165]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 11:53:03 UTC], ["updated_at", 2016-12-07 11:53:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (60.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 398], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 398]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 399], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 399]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 400]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 401]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 397]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (115.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 403], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 403]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 404], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 404]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 405]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 406]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (23.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (61.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 12:02:56 UTC], ["updated_at", 2016-12-07 12:02:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.5ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (527.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 166], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"166", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 166], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 166]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 46ms (Views: 23.7ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 167], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"167", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 167], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 17ms (Views: 6.6ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 168], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"168", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 168], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 168]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.2ms)
Completed 200 OK in 24ms (Views: 10.6ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$J.3PStXbz9ts7tA/XQqDt.ZOPwxNGC04ZwE/suPZKiDu3/.kRAH.a"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$afGePBn7yXa8KCJlls7hju941FhoMfGD8K8g0qZKMNiK2M5bZ.aMy"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 407], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (10.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:02:57 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (2.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 2.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 169], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["title", "A property for "]]
[1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 170], ["locale", "en"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 169]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 169]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 170]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 170]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$wjVij0UZeDF0buo4hWQ/xuiIs74/U6QJ27G8oAPx69lzSJpt7z4Te"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:02:57 +0100
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 12:02:57 UTC], ["last_sign_in_at", 2016-12-07 12:02:57 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 12:02:57 UTC], ["id", 178]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 19ms (Views: 6.9ms | ActiveRecord: 1.8ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:02:57 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 35ms (Views: 17.6ms | ActiveRecord: 2.1ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:02:57 UTC], ["updated_at", 2016-12-07 12:02:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:03:39 UTC], ["updated_at", 2016-12-07 12:03:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:03:39 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 20ms (Views: 1.4ms | ActiveRecord: 2.7ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:04:04 UTC], ["updated_at", 2016-12-07 12:04:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:04:04 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 23ms (Views: 1.4ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 410], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 410]]
[1m[36mPwb::ContentPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 411], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.8ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 411]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 412]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 413]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (8.8ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 409]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (169.0ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 415], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (1.0ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 415]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 416], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 416]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 417]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 418]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (11.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (27.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 12:05:14 UTC], ["updated_at", 2016-12-07 12:05:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (548.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$5S8.e1xhTXvRH/9YUySigueQ3XhH1ddpSlIAMjqN47JTrgspLOepG"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:05:15 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 12:05:15 UTC], ["last_sign_in_at", 2016-12-07 12:05:15 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 12:05:15 UTC], ["id", 179]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 18ms (Views: 8.1ms | ActiveRecord: 1.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:05:15 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 19ms (Views: 7.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$vAKGqEEKQlhmsHGGbmloHu1h6h/2jXmqSTULO3AjjuA1D1Zuu2Hkm"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 180], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$00jBydNB8IVM0FNHx317BuS1DdKtqWZISjDKbNMGcV9REmaeve7QO"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (29.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (149.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 419], ["locale", "en"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:05:15 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 12ms (Views: 2.8ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:15 UTC], ["updated_at", 2016-12-07 12:05:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 171], ["locale", "en"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC], ["title", "A property for "]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 172], ["locale", "en"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 171]]
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 171]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 172]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 172]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 36ms (Views: 21.0ms | ActiveRecord: 1.6ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 21ms (Views: 3.3ms | ActiveRecord: 2.6ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35mSQL (5.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 173], ["locale", "en"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"173", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 173], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 173]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 61ms (Views: 31.8ms | ActiveRecord: 2.8ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 174], ["locale", "en"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"174", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 174], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 27ms (Views: 13.0ms | ActiveRecord: 2.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 175], ["locale", "en"], ["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"175", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:05:16 UTC], ["updated_at", 2016-12-07 12:05:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 175], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 175]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (2.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 176], ["locale", "en"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC], ["title", "A property for "]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"176", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 176]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (1.4ms)
Completed 200 OK in 166ms (Views: 45.0ms | ActiveRecord: 12.9ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 177], ["locale", "en"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"177", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 177], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 25ms (Views: 9.2ms | ActiveRecord: 3.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (17.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 178], ["locale", "en"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"178", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 178], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 178]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 422], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 422]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 423], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 423]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 424]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 425]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 421]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (110.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:02 UTC], ["updated_at", 2016-12-07 12:06:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 427], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 427]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 428], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 428]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 429]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 430]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 30ms (Views: 11.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (50.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$775LPAcIQ5AIz2D5Wkvmoub0kxHR7Ht6/XJSZ3gRBPI.WB9kFEPkO"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:06:03 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 12:06:03 UTC], ["last_sign_in_at", 2016-12-07 12:06:03 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 12:06:03 UTC], ["id", 182]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 345ms (Views: 336.4ms | ActiveRecord: 1.4ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:06:03 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:06:03 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 179], ["locale", "en"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC], ["title", "A property for "]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 180], ["locale", "en"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 179]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 179]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 180]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 180]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 432], ["locale", "en"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (61.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 18ms (Views: 6.0ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Xv7f9q1X5/ma81HjeU2t1.Dlfhatzwb1mGBKJDy/ARbpybEpxLig."], ["created_at", 2016-12-07 12:06:03 UTC], ["updated_at", 2016-12-07 12:06:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 183], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$rlpn1VySPJqeOSQcC6GF7uRR/cAwv1noDj00aK.8eD0Jqn0kz/STy"], ["created_at", 2016-12-07 12:06:04 UTC], ["updated_at", 2016-12-07 12:06:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:06:04 UTC], ["updated_at", 2016-12-07 12:06:04 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 434], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 434]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 435], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 435]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 436]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 437]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.6ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 433]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (120.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 439], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 439]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 440], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 440]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 441]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 442]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (18.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (7.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 73ms (Views: 7.0ms | ActiveRecord: 14.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$U2PmhoqrhPTgD7tpx6Ku.ON6NsAK8DN.wJqvaefaBpeESyT95/oai"], ["created_at", 2016-12-07 12:32:15 UTC], ["updated_at", 2016-12-07 12:32:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 185], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$w9ysZvXPWgA.dO/SRlYy/eugw8w5Tc3PLEKieAgn6PUmFPnV0vAa."], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (22.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (61.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 181], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"181", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 181], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 32ms (Views: 22.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 182], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"182", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 182], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 182]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 19ms (Views: 7.7ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 183], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"183", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 183], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 183]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 184], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["title", "A property for "]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 185], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 184]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 184]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 185]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 185]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$YQc/Z0HcXle5B8ypb38PMukjduwzQ7YNEsJXXuNOu1bZwg4HzkFxK"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:32:16 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 12:32:16 UTC], ["last_sign_in_at", 2016-12-07 12:32:16 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 12:32:16 UTC], ["id", 187]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 377ms (Views: 368.9ms | ActiveRecord: 1.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:32:16 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 443], ["locale", "en"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 50ms (Views: 31.4ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:32:16 UTC], ["updated_at", 2016-12-07 12:32:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 12:32:17 UTC], ["updated_at", 2016-12-07 12:32:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 12:32:17 UTC], ["updated_at", 2016-12-07 12:32:17 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.5ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (100.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:32:17 UTC], ["updated_at", 2016-12-07 12:32:17 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:32:17 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 0.7ms)
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 12:36:45 UTC], ["updated_at", 2016-12-07 12:36:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:37:27 UTC], ["updated_at", 2016-12-07 12:37:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:37:27 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 20ms (Views: 1.3ms | ActiveRecord: 1.9ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 446], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.9ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 446]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 447], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 447]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 448]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 449]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.1ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 445]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (118.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 451], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 451]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 452], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 452]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 453]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 454]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 186], ["locale", "en"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC], ["title", "A property for "]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 187], ["locale", "en"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 186]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 186]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 187]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 187]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 12:39:10 UTC], ["updated_at", 2016-12-07 12:39:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.3ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (468.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (53.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 455], ["locale", "en"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC], ["raw", "MyText"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$pSe0RejDrfWZCjNmm/zF4eYwmQXZxP7KBFK4kVPZ7k02OPW5qt1uO"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:39:11 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 12:39:11 UTC], ["last_sign_in_at", 2016-12-07 12:39:11 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 12:39:11 UTC], ["id", 188]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 1.4ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 13:39:11 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.8ms)
Completed 200 OK in 31ms (Views: 16.5ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 20ms (Views: 8.1ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Tt.GFD8XRiTiMJnyV9Cae.0FIYXteI.i0MCqo4kK/lZ1fJQxxRxIW"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 189], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$RAp0h7AFIwMPbRSunaHKxO2yZdf5o4DHk95xinc38YH1VfOXO5R1O"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:39:11 UTC], ["updated_at", 2016-12-07 12:39:11 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:39:11 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.7ms)
[1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 188], ["locale", "en"], ["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"188", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 188], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 188]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (3.2ms)
Completed 200 OK in 51ms (Views: 30.6ms | ActiveRecord: 2.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 189], ["locale", "en"], ["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"189", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:49:30 UTC], ["updated_at", 2016-12-07 12:49:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 189], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 18ms (Views: 7.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 12:49:31 UTC], ["updated_at", 2016-12-07 12:49:31 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 190], ["locale", "en"], ["created_at", 2016-12-07 12:49:31 UTC], ["updated_at", 2016-12-07 12:49:31 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"190", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 12:49:31 UTC], ["updated_at", 2016-12-07 12:49:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 190], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 190]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 14ms (Views: 1.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 12:49:31 UTC], ["updated_at", 2016-12-07 12:49:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:50:40 UTC], ["updated_at", 2016-12-07 12:50:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:50:40 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:52:04 UTC], ["updated_at", 2016-12-07 12:52:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 13:52:04 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 23ms (Views: 1.6ms | ActiveRecord: 3.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:53:03 UTC], ["updated_at", 2016-12-07 12:53:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties" for 127.0.0.1 at 2016-12-07 13:53:03 +0100
Processing by Pwb::Api::V1::PropertiesController#index as HTML
[1m[35m (1.4ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Prop Load (8.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" INNER JOIN "pwb_prop_translations" ON "pwb_prop_translations"."pwb_prop_id" = "pwb_props"."id" WHERE "pwb_prop_translations"."locale" = $1 ORDER BY "pwb_props"."id" ASC[0m [["locale", "en"]]
Completed 200 OK in 115ms (Views: 0.4ms | ActiveRecord: 20.9ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:54:19 UTC], ["updated_at", 2016-12-07 12:54:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:54:29 UTC], ["updated_at", 2016-12-07 12:54:29 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 191], ["locale", "en"], ["created_at", 2016-12-07 12:54:29 UTC], ["updated_at", 2016-12-07 12:54:29 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties" for 127.0.0.1 at 2016-12-07 13:55:23 +0100
Processing by Pwb::Api::V1::PropertiesController#index as HTML
[1m[36mPwb::Prop Load (1.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" INNER JOIN "pwb_prop_translations" ON "pwb_prop_translations"."pwb_prop_id" = "pwb_props"."id" WHERE "pwb_prop_translations"."locale" = $1 ORDER BY "pwb_props"."id" ASC[0m [["locale", "en"]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = 191[0m
[1m[36mPwb::Feature Load (18.6ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 191]]
[1m[36mPwb::PropPhoto Load (1.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 191]]
Completed 200 OK in 76ms (Views: 2.7ms | ActiveRecord: 24.8ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 12:55:31 UTC], ["updated_at", 2016-12-07 12:55:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:55:32 UTC], ["updated_at", 2016-12-07 12:55:32 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 192], ["locale", "en"], ["created_at", 2016-12-07 12:55:32 UTC], ["updated_at", 2016-12-07 12:55:32 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/192" for 127.0.0.1 at 2016-12-07 13:55:32 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"192"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 192], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 192]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 192]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 192]]
Completed 200 OK in 42ms (Views: 2.4ms | ActiveRecord: 4.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:56:16 UTC], ["updated_at", 2016-12-07 12:56:16 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 193], ["locale", "en"], ["created_at", 2016-12-07 12:56:16 UTC], ["updated_at", 2016-12-07 12:56:16 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/193" for 127.0.0.1 at 2016-12-07 13:56:16 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"193"}
[1m[36mPwb::Prop Load (1.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 193], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 193]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 193]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 193]]
Completed 200 OK in 42ms (Views: 2.0ms | ActiveRecord: 5.3ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (3.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:56:56 UTC], ["updated_at", 2016-12-07 12:56:56 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 194], ["locale", "en"], ["created_at", 2016-12-07 12:56:56 UTC], ["updated_at", 2016-12-07 12:56:56 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/194" for 127.0.0.1 at 2016-12-07 13:56:56 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"194"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 194], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.5ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 194]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 194]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 194]]
Completed 200 OK in 44ms (Views: 2.2ms | ActiveRecord: 5.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:57:41 UTC], ["updated_at", 2016-12-07 12:57:41 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 195], ["locale", "en"], ["created_at", 2016-12-07 12:57:41 UTC], ["updated_at", 2016-12-07 12:57:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/195" for 127.0.0.1 at 2016-12-07 13:57:41 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"195"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 195], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 195]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 195]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 195]]
Completed 200 OK in 38ms (Views: 1.8ms | ActiveRecord: 4.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:58:35 UTC], ["updated_at", 2016-12-07 12:58:35 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 196], ["locale", "en"], ["created_at", 2016-12-07 12:58:35 UTC], ["updated_at", 2016-12-07 12:58:35 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/196" for 127.0.0.1 at 2016-12-07 13:58:35 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"196"}
[1m[36mPwb::Prop Load (1.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 196], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 196]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 196]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 196]]
Completed 200 OK in 44ms (Views: 1.8ms | ActiveRecord: 5.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 12:59:07 UTC], ["updated_at", 2016-12-07 12:59:07 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 197], ["locale", "en"], ["created_at", 2016-12-07 12:59:07 UTC], ["updated_at", 2016-12-07 12:59:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/197" for 127.0.0.1 at 2016-12-07 13:59:07 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"197"}
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 197], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 197]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 197]]
[1m[36mPwb::PropPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 197]]
Completed 200 OK in 46ms (Views: 2.4ms | ActiveRecord: 4.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (22.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (62.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 198], ["locale", "en"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC], ["title", "A property for "]]
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 199], ["locale", "en"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 198]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 198]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 199]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 199]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.2ms)
Completed 200 OK in 29ms (Views: 11.1ms | ActiveRecord: 3.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$g4J/PRRjvDhgkr6nwSt4QO.55cmnKmbZq6nMMMue6lLCQCqz8UDHe"], ["created_at", 2016-12-07 13:00:06 UTC], ["updated_at", 2016-12-07 13:00:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 191], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$MCvmD5Ljxl46I1yec6kvZetDdyu8IDCCxGO3J/c6nJOp.iE8Oozr2"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$5.YAMnuWQHXoDioF5IUa0.tSU.OapdYp4h19iUOuB2cXG62rK37Z2"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 14:00:07 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 13:00:07 UTC], ["last_sign_in_at", 2016-12-07 13:00:07 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 13:00:07 UTC], ["id", 193]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 380ms (Views: 370.2ms | ActiveRecord: 1.4ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 14:00:07 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 200], ["locale", "en"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/200" for 127.0.0.1 at 2016-12-07 14:00:07 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"200"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 200], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 200]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 200]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 200]]
Completed 200 OK in 35ms (Views: 1.9ms | ActiveRecord: 4.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 14:00:07 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (63.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 33ms (Views: 15.4ms | ActiveRecord: 3.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 2.0ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 201], ["locale", "en"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"201", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 201], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 20.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 202], ["locale", "en"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"202", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 202], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 202]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 20ms (Views: 9.5ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 203], ["locale", "en"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"203", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 203], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 203]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 458], ["locale", "en"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:07 UTC], ["updated_at", 2016-12-07 13:00:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 460], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 460]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 461], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 461]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 462]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 463]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.2ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 459]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (76.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 13:00:08 UTC], ["updated_at", 2016-12-07 13:00:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 465], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 465]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 466], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 466]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 467]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 468]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (12.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 13:00:25 UTC], ["updated_at", 2016-12-07 13:00:25 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 204], ["locale", "en"], ["created_at", 2016-12-07 13:00:25 UTC], ["updated_at", 2016-12-07 13:00:25 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/204" for 127.0.0.1 at 2016-12-07 14:00:25 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"204"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 204], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.7ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 204]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 204]]
[1m[36mPwb::PropPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 204]]
Completed 200 OK in 41ms (Views: 1.8ms | ActiveRecord: 4.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (13.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (4.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 176ms (Views: 17.5ms | ActiveRecord: 60.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (13.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$KGJKy5udhl9MnS1gjkk4ceGgOST6a/HR8fTEn0Gz8LYrIAckUCPAG"], ["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 194], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$m.CPsIJbRlAr1GFBIDsBlOTRDgx4kbTgPzDuTWXSREthd14XeMqsC"], ["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 14:24:16 UTC], ["updated_at", 2016-12-07 14:24:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 195], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 66ms (ActiveRecord: 8.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ZM6wbnNKyNNUHh.ehT/6Ce.mqkIgP97155cby7THbtLLWgR9Pawx2"], ["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 196], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ThBVS5X3xVQmfiOWDn1ewuIWfkrihmaF983SbDKmpJ9XY9XrFp66e"], ["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 14:24:39 UTC], ["updated_at", 2016-12-07 14:24:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 197], ["LIMIT", 1]]
Completed 500 Internal Server Error in 35ms (ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (131.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (396.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.9ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (36.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (28.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (16.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (7.5ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (24.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:43:36 UTC], ["updated_at", 2016-12-07 14:43:36 UTC]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (130.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (906.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (23.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (40.4ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (22.8ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (41.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (24.7ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (25.7ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:45:10 UTC], ["updated_at", 2016-12-07 14:45:10 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (131.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (849.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (16.0ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (14.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (40.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (32.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (18.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (12.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (28.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (32.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (43.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (22.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (13.8ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (6.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (46.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:45:34 UTC], ["updated_at", 2016-12-07 14:45:34 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (134.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (1479.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (40.5ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (38.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (26.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (42.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (11.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (25.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (21.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (27.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (25.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (13.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (19.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (39.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (41.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (13.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (40.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (22.3ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (11.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (17.7ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (41.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (26.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (20.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (5.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:48:47 UTC], ["updated_at", 2016-12-07 14:48:47 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (127.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (1039.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (32.9ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (22.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (35.7ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (41.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (43.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (20.2ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (11.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (11.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (42.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (48.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (7.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (27.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (25.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (6.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (18.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:49:21 UTC], ["updated_at", 2016-12-07 14:49:21 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (129.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (654.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (11.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.3ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (21.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (11.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (9.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 14:49:49 UTC], ["updated_at", 2016-12-07 14:49:49 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (158.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (373.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (20.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (32.8ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (37.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (25.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (25.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (17.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (18.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (21.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (17.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (17.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (18.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (25.0ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (18.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (27.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (11.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (17.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (25.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (24.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (6.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (24.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:03:19 UTC], ["updated_at", 2016-12-07 15:03:19 UTC]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (133.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (462.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:04:07 UTC], ["updated_at", 2016-12-07 15:04:07 UTC]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (26.5ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (129.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.7ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (1.0ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (6.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (12.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (5.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.4ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.3ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.2ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (3.0ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (2.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.4ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (4.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.2ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (14.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.8ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbMessages (20161128200709)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128200709"]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbClients (20161128221919)
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128221919"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFeatures (20161130141845)
[1m[35m (5.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.0ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161130141845"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to DeviseCreatePwbUsers (20161205223003)
[1m[35m (5.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (19.2ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161205223003"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-07 15:05:04 UTC], ["updated_at", 2016-12-07 15:05:04 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_features'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.9ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.1ms)[0m [1m[34mSELECT 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 = 'pwb_users'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (19.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 84ms (ActiveRecord: 29.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (24.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (4.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$DPak.bH1yGf1dk.4dXCGre8yB82jU6Fakzy3AQR0XdZQNKFi1gQv2"], ["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$73lODj4r/M8FdVO5GI.TIurnP7qTYHcGdQs94Oz2mwAePhK3Bvv.W"], ["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:05:23 UTC], ["updated_at", 2016-12-07 15:05:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 31ms (Views: 23.0ms | ActiveRecord: 1.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$vyXKhdk5pdMiTvdSjkOUnOe9x.s6tq/gpZ4zPkdgnjww0WR3TytEi"], ["created_at", 2016-12-07 15:05:24 UTC], ["updated_at", 2016-12-07 15:05:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2X4ghFjwXEEKUC8vPBmztOOVhTiBsC21UOaM7pOwqmYfAYGUyMfce"], ["created_at", 2016-12-07 15:05:24 UTC], ["updated_at", 2016-12-07 15:05:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:05:24 UTC], ["updated_at", 2016-12-07 15:05:24 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:07 UTC], ["updated_at", 2016-12-07 15:07:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 63ms (ActiveRecord: 8.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$UmYpzdnXCd9DXeJCcixzD.gSoRxmTbtuL3kBL63ukd9XePuB.9Yv6"], ["created_at", 2016-12-07 15:07:07 UTC], ["updated_at", 2016-12-07 15:07:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$mMxIZg4ocTl9FefpXDaEf.Fv/uO64l.IIp09QhgcEm.AnTDgTAlFS"], ["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 21.1ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$2SwXJt91NUuFhIZI1Or/JOidKwhvh/t4NLeX2dK11sbmr0D8lEr7y"], ["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$dVdS9nx4jrbICknknajhJ.ueEKy4QFbKKcZPP/Wathm5nvqdh/4cm"], ["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:08 UTC], ["updated_at", 2016-12-07 15:07:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35mSQL (18.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 1], ["locale", "en"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (10.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 3], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.7ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 2]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (103.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 8], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 8]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (14.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 15:07:41 UTC], ["updated_at", 2016-12-07 15:07:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.8ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (485.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (2.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (14.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (5.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 1]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 1]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 2]]
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 2]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 11ms (ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$OsA7Tmf.C/WvmmUxrXic4Om6YDhhHMSLfT7iGvKZsIR8p/tFPpMkm"], ["admin", true], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$ZbtJHc.Da6AuRw74AGFjLObYKkwCaKL8n/d./KcSGkKE886hgRwVW"], ["admin", true], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.8ms)
Completed 200 OK in 24ms (Views: 7.4ms | ActiveRecord: 1.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$Owu9hTfZ0qvPNhQIbEgrwe.PuUIs/8aP1BjLyxxle62ikbyCwwUlm"], ["admin", true], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "ad@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "ad@pwb.com"], ["encrypted_password", "$2a$04$UdJ.PJvBLGBZ5z8wzxy/qekgUQp19qHodmkIfjd2ok9b9UfxJlC3K"], ["admin", true], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (19.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (56.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$bUzxLt7/YWOU7FLWDanec.hZHZGop/Cr/iBGhh021OXKLXAEZFj7e"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:07:42 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 15:07:42 UTC], ["last_sign_in_at", 2016-12-07 15:07:42 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 15:07:42 UTC], ["id", 13]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.5ms)
[1m[36mPwb::Section Load (0.4ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.9ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 57ms (Views: 48.7ms | ActiveRecord: 2.7ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:07:42 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 47ms (Views: 24.6ms | ActiveRecord: 3.1ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 16:07:42 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/3" for 127.0.0.1 at 2016-12-07 16:07:42 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (2.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 3]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 3]]
[1m[36mPwb::PropPhoto Load (1.1ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 3]]
Completed 200 OK in 31ms (Views: 1.9ms | ActiveRecord: 6.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"4", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 4]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 33ms (Views: 21.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:07:42 UTC], ["updated_at", 2016-12-07 15:07:42 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 6]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.6ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (468.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 9ms (ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$V3BPAhweHo5qQCEJk5e2zea53Q9veEXB5BjL3rbAWLfGLzUK8utvO"], ["admin", true], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Q8URmG8CGEnnWtxiTFtpEu76LJK.wEeHbe7jTEb36uOF7qYX7vxNK"], ["admin", true], ["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:00 UTC], ["updated_at", 2016-12-07 15:08:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 25ms (Views: 10.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$x3RRRKbT8VRPXmUIbSlxCupvj7eqvrSm4O999hlBHXf3WxQ.Rdmn2"], ["admin", true], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$vijCknXDuIXKLz6eeHhVoufBK6/tlVwTFXSm6yGi9uZ7SEIob5yu2"], ["admin", true], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$cDFdHbgO1iYWyF1TLqHHyOsnpa5yHtqV38ttyfUZOoD4yl7QXuYw6"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:01 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 15:08:01 UTC], ["last_sign_in_at", 2016-12-07 15:08:01 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 15:08:01 UTC], ["id", 18]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.5ms)
[1m[36mPwb::Section Load (0.5ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (1.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (1.9ms)
Completed 200 OK in 44ms (Views: 35.7ms | ActiveRecord: 2.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:01 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (17.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (62.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 16:08:01 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/7" for 127.0.0.1 at 2016-12-07 16:08:01 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 7]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
[1m[36mPwb::PropPhoto Load (1.4ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 7]]
Completed 200 OK in 44ms (Views: 3.8ms | ActiveRecord: 6.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 13], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 8], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 9], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 8]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 8]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 9]]
[1m[35mSQL (0.9ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 9]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 10], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"10", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 10]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 46ms (Views: 29.9ms | ActiveRecord: 3.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 11], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"11", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 11]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 12], ["locale", "en"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"12", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 19ms (Views: 9.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:01 UTC], ["updated_at", 2016-12-07 15:08:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 15], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 15]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 16], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 16]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 17]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 18]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 14]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (85.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 20], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 20]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 21], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 21]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 22]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 23]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 25ms (Views: 11.1ms | ActiveRecord: 1.8ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:02 UTC], ["updated_at", 2016-12-07 15:08:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$kR8COzF1upbkbliVO5Gse.I73436KAZy1tWIOPf9jpFQgC2DYBApq"], ["created_at", 2016-12-07 15:08:14 UTC], ["updated_at", 2016-12-07 15:08:14 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:14 +0100
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 15:08:14 UTC], ["last_sign_in_at", 2016-12-07 15:08:14 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 15:08:14 UTC], ["id", 19]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (1.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:14 UTC], ["updated_at", 2016-12-07 15:08:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (2.4ms)
[1m[36mPwb::Section Load (0.6ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.1ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.2ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 478ms (Views: 429.9ms | ActiveRecord: 8.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:08:14 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:14 UTC], ["updated_at", 2016-12-07 15:08:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 67ms (Views: 22.7ms | ActiveRecord: 8.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 16:08:15 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 16ms (Views: 3.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (12.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (80.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 26], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 13], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/13" for 127.0.0.1 at 2016-12-07 16:08:15 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 13]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 13]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 13]]
Completed 200 OK in 42ms (Views: 3.4ms | ActiveRecord: 5.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 14], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"14", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 34ms (Views: 23.4ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 15], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"15", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 15]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 16ms (Views: 6.3ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 16], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"16", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 16]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 12ms (Views: 1.9ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 17], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 18], ["locale", "en"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 17]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 17]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 18]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 18]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 28], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 28]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 29], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 29]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 30]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 31]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 27]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (2.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (72.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 33], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 33]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 34], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 34]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 35]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 36]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (2.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (12.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (44.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 8ms (ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$/hmSbRLYQrTm2Btsrz5EEOMFzL4mQcs.O83OKRFVtN1CCxuZVrMX6"], ["admin", true], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$rlLDEibS8xlSlCdclAqPmOn.CdQFoqKC3F6B48dRgLh5pjk5WmRti"], ["admin", true], ["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:15 UTC], ["updated_at", 2016-12-07 15:08:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 1.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$qFvteEcmwSw8v8pV4AummO1XJOFFkU7Jss2sNImhU.IekKWll7a4O"], ["admin", true], ["created_at", 2016-12-07 15:08:16 UTC], ["updated_at", 2016-12-07 15:08:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$ANYWSSl7Tus8UE/5WNzUpu3tHMaMjw1Xzwyyzg/UntTQxfQTKWtR."], ["admin", true], ["created_at", 2016-12-07 15:08:16 UTC], ["updated_at", 2016-12-07 15:08:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:16 UTC], ["updated_at", 2016-12-07 15:08:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 63ms (ActiveRecord: 7.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$LtfM6fzsCI25I8LGBp.B9.ioLqQSOnDWVuxnvkmv21wKJlL8en5hm"], ["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$FgwMvjMTG4/rZ/YTbbAjOuPkrB6KAkpGtvu0pvSm30FhfMdnDJepS"], ["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 25ms (Views: 17.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$dyUpSEd7MdsGRS1Gx4TMKeO8BjLHiJH9h11cll/rskWwxDkLPe082"], ["admin", true], ["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$yzrJtgs9ZTBbxW6ggqsLz.XoALL3BPWUD1ln6cT5.0e61j0Z/Jk2q"], ["admin", true], ["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:22 UTC], ["updated_at", 2016-12-07 15:08:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 21ms (Views: 7.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 63ms (ActiveRecord: 8.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$y4oAbWLwHmgZVxEzIXCwFOUBhcJ2IlP7VeAg7bqsFObg3zmWDcREK"], ["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Aj4FKZ1IPieZtBcRdbqhOeGj2PUFUMlKxVz1h7oH9Ope7WIf0CEQW"], ["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 24ms (Views: 17.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$VFqelZ.6PRAhnz1fC5cVJuGT4UeBxdFa.ZUchP2Sc4Vzo.sXA8zo."], ["admin", true], ["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$3vej5qb3GfUwC0m9JvZJPOPRBC1KN5AFVdq4LwNW9JYbrvBhA4COu"], ["admin", true], ["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:08:51 UTC], ["updated_at", 2016-12-07 15:08:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 21ms (Views: 6.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$NjdwrmqqtlwOKjk9WGluyuutqNAPYphdbSUjtzHjpKqBI9Fu1UkoS"], ["admin", true], ["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.8ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Ge5301Gmzo6IUbkD7iGsNO6qIF.mRk9CAJryu.77JToH17RL6jhsq"], ["admin", true], ["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 88ms (Views: 13.1ms | ActiveRecord: 7.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$HA5QwutNvb8IRd3LjLeD/.3tBSXBAq1Tu.HVzWQ6ouhDgaupJPy0y"], ["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 34], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$3eqNCfoHWvnSNSFhHn/7a.JmEkyq3QdVp4o.aUPfeD2jR/kdewJRm"], ["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:09:46 UTC], ["updated_at", 2016-12-07 15:09:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 35], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 19ms (Views: 11.1ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 16:10:06 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 1.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$80ByC3k28hY4N/p3zy7so.1WKXM3WQXBplW8t5tKZlsURBA/cGMU."], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:10:06 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 15:10:06 UTC], ["last_sign_in_at", 2016-12-07 15:10:06 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 15:10:06 UTC], ["id", 36]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (2.5ms)
[1m[36mPwb::Section Load (0.6ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.2ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 475ms (Views: 467.8ms | ActiveRecord: 2.6ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:10:06 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 19], ["locale", "en"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC], ["title", "A property for "]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 20], ["locale", "en"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 19]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 19]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 20]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 20]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 21], ["locale", "en"], ["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"21", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:06 UTC], ["updated_at", 2016-12-07 15:10:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 21]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 45ms (Views: 24.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 22], ["locale", "en"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"22", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 22]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 23], ["locale", "en"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"23", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 22ms (Views: 7.1ms | ActiveRecord: 5.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$2lLpQ8S5BP83jsx.Mr4BTeEIVMlbpUTJeKgAdq1RUwLWIUzKk11Ae"], ["admin", true], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 37], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$bEY2GUvkcT3XBHrVlI25tu.iFFRVwca89JVoiZU9Xljrgot75ltXa"], ["admin", true], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 23ms (Views: 7.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Va9yd8dskuCrvrho7Z26d.BeB1c4Ol0QWweC2lYh/8XWi4WYAATd6"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$PqEBouyb2HSeFc0P7sktzOwU89aiX0UBQkmxVo2Sp3za8vAzsSy9O"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 5.5ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 38], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 38]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 39], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 39]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 40]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 41]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.4ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 37]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (94.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 43], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 43]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 44], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 44]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 45]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 46]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (13.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (4.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (61.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 24], ["locale", "en"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/24" for 127.0.0.1 at 2016-12-07 16:10:07 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.5ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 24]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 24]]
[1m[36mPwb::PropPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 24]]
Completed 200 OK in 29ms (Views: 1.6ms | ActiveRecord: 4.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 31ms (Views: 14.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 1.4ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 48], ["locale", "en"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (13.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (47.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:07 UTC], ["updated_at", 2016-12-07 15:10:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Prtm4fPa5VHNwnSQOZ0z0eNqA3SMdJ9gtEk2Zy5i0VoSYOhO.6086"], ["admin", true], ["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$1SzWRFpLEjGyu2Ci1U01Yebl3hD5XQVBwsp/ZMh7fxqCsajhJ5dli"], ["admin", true], ["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 70ms (Views: 12.6ms | ActiveRecord: 7.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$2voF9BgWhDXCaSlb0HqmcuEqTz4Q1OzKjAkLpFCsQh1/ROK10zVpC"], ["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$0XMPAensbl8gjccT/oXo7OKPoMTMy/u/4o9xJHb/JS4Kg4rM6zEVe"], ["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:10:23 UTC], ["updated_at", 2016-12-07 15:10:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.1ms)
Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (7.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$L1YzJExHruMhG/8Hsa8J/.DWldjAH1/lczTn7fJqYxv6jpUEffo7K"], ["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 45], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$/oBwGA10BZEaRqbY9HOPw.KYM7SFwchPtcaSwHExTv/GB2blPLHSG"], ["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 76ms (Views: 18.8ms | ActiveRecord: 7.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$XK5NBW9o6768.4gZJ.B9a.ZMzFYfunZJ1WUavcxJPhJbJZkYqR3Lu"], ["admin", true], ["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$MyPxnq7.Mv5xKJEhw1OG4OiLrHV.xojklT5B7o21kIMn/5.f6Pd6G"], ["admin", true], ["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:14 UTC], ["updated_at", 2016-12-07 15:11:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 21ms (Views: 8.4ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 25], ["locale", "en"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC], ["title", "A property for "]]
[1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 26], ["locale", "en"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 25]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 25]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 26]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 26]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 27], ["locale", "en"], ["created_at", 2016-12-07 15:11:26 UTC], ["updated_at", 2016-12-07 15:11:26 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/27" for 127.0.0.1 at 2016-12-07 16:11:26 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"27"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 27]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 27]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 27]]
Completed 200 OK in 39ms (Views: 2.2ms | ActiveRecord: 5.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$UisMQco0mkIy7XPKHMeEneN920knD2bN1bFubOTguqXrwCBvi.o5a"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$w66SrP0R80ITvFLIoD74ru1V3oy0nlefbD2qkCz5mwQMm7TU4mQE."], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 50], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 82ms (Views: 19.7ms | ActiveRecord: 7.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$jRn3fb66lbaX6V3/SozmoOC6qrEtLI6jIeaHWyoSx1cNbVegxQYfu"], ["admin", true], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 51], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$9HbjFCAS8MUzKf7CM5wi9OmVOUy9ohBBaYe.XWo8ZGzWuWX1GG9SG"], ["admin", true], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 52], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 20ms (Views: 8.4ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (3.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (410.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 28], ["locale", "en"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"28", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 28]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 32ms (Views: 19.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 29], ["locale", "en"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"29", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 29], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 14ms (Views: 6.5ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 30], ["locale", "en"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"30", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 30], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 30]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 18ms (Views: 1.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 49], ["locale", "en"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:27 UTC], ["updated_at", 2016-12-07 15:11:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 51], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 51]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 52], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 52]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 53]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 54]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 50]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (4.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (82.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 56], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 56]]
[1m[36mPwb::ContentPhoto Load (0.2ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 57], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 57]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 58]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 59]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (10.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 26ms (Views: 10.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.4ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (15.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (46.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-07 16:11:28 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$/pkUOI33xyM0v3Uh6YWUOeJbttvFiUBF5TT27Io.TeDzcEs9f1BOa"], ["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:11:28 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-07 15:11:28 UTC], ["last_sign_in_at", 2016-12-07 15:11:28 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-07 15:11:28 UTC], ["id", 53]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-07 15:11:28 UTC], ["updated_at", 2016-12-07 15:11:28 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.7ms)
[1m[36mPwb::Section Load (0.9ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (4.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (1.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 35ms (Views: 28.5ms | ActiveRecord: 2.2ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-07 16:11:28 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (14.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (25.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (4.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 11:49:50 UTC], ["updated_at", 2016-12-08 11:49:50 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (12.4ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 280ms (Views: 22.9ms | ActiveRecord: 97.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (28.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-08 11:49:51 UTC], ["updated_at", 2016-12-08 11:49:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 11:49:51 UTC], ["updated_at", 2016-12-08 11:49:51 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 1.5ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (14.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (9.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 31], ["locale", "en"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"31", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 31], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (6.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 31]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 105ms (Views: 30.6ms | ActiveRecord: 13.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 32], ["locale", "en"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"32", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 32], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 15ms (Views: 6.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 33], ["locale", "en"], ["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"33", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 11:51:07 UTC], ["updated_at", 2016-12-08 11:51:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 33], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 33]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 3.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (13.1ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 12:29:49 UTC], ["updated_at", 2016-12-08 12:29:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 12:29:55 UTC], ["updated_at", 2016-12-08 12:29:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (2.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (15.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 15:38:28 UTC], ["updated_at", 2016-12-08 15:38:28 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (6.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (7.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (7.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-08 16:26:30 UTC], ["updated_at", 2016-12-08 16:26:30 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 34], ["locale", "en"], ["created_at", 2016-12-08 16:26:30 UTC], ["updated_at", 2016-12-08 16:26:30 UTC], ["title", "A property for "]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-08 16:26:30 UTC], ["updated_at", 2016-12-08 16:26:30 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 35], ["locale", "en"], ["created_at", 2016-12-08 16:26:30 UTC], ["updated_at", 2016-12-08 16:26:30 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 34]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 34]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 35]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 35]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-08 16:26:49 UTC], ["updated_at", 2016-12-08 16:26:49 UTC]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 36], ["locale", "en"], ["created_at", 2016-12-08 16:26:49 UTC], ["updated_at", 2016-12-08 16:26:49 UTC], ["title", "A property for "]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-08 16:26:49 UTC], ["updated_at", 2016-12-08 16:26:49 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 37], ["locale", "en"], ["created_at", 2016-12-08 16:26:49 UTC], ["updated_at", 2016-12-08 16:26:49 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (6.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 36]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 36]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 37]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 37]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 38], ["locale", "en"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"38", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (7.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 38], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 38]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 108ms (Views: 28.6ms | ActiveRecord: 21.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 39], ["locale", "en"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"39", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 39], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 39]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 40], ["locale", "en"], ["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"40", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:38:52 UTC], ["updated_at", 2016-12-08 16:38:52 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 40], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 17ms (Views: 6.6ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 16:39:47 UTC], ["updated_at", 2016-12-08 16:39:47 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 41], ["locale", "en"], ["created_at", 2016-12-08 16:39:47 UTC], ["updated_at", 2016-12-08 16:39:47 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"41", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:39:47 UTC], ["updated_at", 2016-12-08 16:39:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 41], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 41]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 114ms (Views: 33.3ms | ActiveRecord: 7.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 42], ["locale", "en"], ["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"42", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 42], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 42]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.2ms)
Completed 200 OK in 14ms (Views: 2.0ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 43], ["locale", "en"], ["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"43", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-08 16:39:48 UTC], ["updated_at", 2016-12-08 16:39:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 43], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 15ms (Views: 7.6ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (12.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (7.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (7.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:13:49 UTC], ["updated_at", 2016-12-09 15:13:49 UTC]]
[1m[35m (5.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:13:55 UTC], ["updated_at", 2016-12-09 15:13:55 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (6.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:43:01 UTC], ["updated_at", 2016-12-09 15:43:01 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:47:28 UTC], ["updated_at", 2016-12-09 15:47:28 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (8.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:51:07 UTC], ["updated_at", 2016-12-09 15:51:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-09 15:53:04 UTC], ["updated_at", 2016-12-09 15:53:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (25.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (17.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (13.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (2.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (17.9ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (41.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (61.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 44], ["locale", "en"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC], ["title", "A property for "]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 45], ["locale", "en"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (7.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (8.9ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 44]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 44]]
[1m[35m (3.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 45]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 45]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35m (9.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 07:54:49 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 27ms (Views: 1.3ms | ActiveRecord: 1.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (24.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-12 06:54:49 UTC], ["updated_at", 2016-12-12 06:54:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (9.5ms)
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (12.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (8196.3ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 46], ["locale", "en"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/46" for 127.0.0.1 at 2016-12-12 07:54:58 +0100
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"46"}
[1m[36mPwb::Prop Load (7.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 46], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (19.8ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 46]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 46]]
[1m[36mPwb::PropPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 46]]
Completed 200 OK in 88ms (Views: 2.9ms | ActiveRecord: 38.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (13.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$g0jkcmSLfe26p5LCFauc/ulyevEdyh992PxCSU0KVqX3J0YvLclPO"], ["admin", true], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$ooeQq1VBbdpUMFhW/5olUOhMEtBEBMd8VGofuwUqy5.gTpShmTS4i"], ["admin", true], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 55], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 32ms (Views: 11.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$epPgHozjJiZ6C.Pq5vCzPulFsbDWsfKUaTd7mOyfQquL3LFI6uyIK"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 56], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$NrqCTBtrUJQp8.q5gvlq8ejjSKLIbLQojfYexeUmf1oXOxVKQW9su"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.8ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 26ms (Views: 13.3ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (17.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 11.2ms | ActiveRecord: 1.9ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 47], ["locale", "en"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"47", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 47], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 28ms (Views: 17.5ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 48], ["locale", "en"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"48", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 48], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 48]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 40ms (Views: 9.7ms | ActiveRecord: 5.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (7.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 49], ["locale", "en"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"49", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 49], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (1.6ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 49]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 33ms (Views: 2.2ms | ActiveRecord: 4.1ms)
[1m[35m (9.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-12 06:54:58 UTC], ["updated_at", 2016-12-12 06:54:58 UTC]]
[1m[35m (3.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (31.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (63.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (8.2ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (1.1ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 64], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 64]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 65], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 65]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 66]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 67]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (5.0ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 63]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (102.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 69], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 69]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 70], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 70]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 71]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 72]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 73], ["locale", "en"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$rZXfH3TY5zPydtdYjwm8S.C5P47.UA0yq5/CT8cLL.rFkSjUB3Ig2"], ["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-12 07:54:59 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 06:54:59 UTC], ["last_sign_in_at", 2016-12-12 06:54:59 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 06:54:59 UTC], ["id", 58]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 06:54:59 UTC], ["updated_at", 2016-12-12 06:54:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (1.7ms)
[1m[36mPwb::Section Load (0.6ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (2.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 63ms (Views: 51.0ms | ActiveRecord: 2.7ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-12 07:54:59 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (26.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 08:42:32 UTC], ["updated_at", 2016-12-12 08:42:32 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 09:42:32 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (1.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 35ms (Views: 1.3ms | ActiveRecord: 2.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:01:14 UTC], ["updated_at", 2016-12-12 09:01:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:01:14 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 21ms (Views: 0.4ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:18:00 UTC], ["updated_at", 2016-12-12 09:18:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:18:00 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 20ms (Views: 0.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:20:47 UTC], ["updated_at", 2016-12-12 09:20:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (26.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$EZATxS/2WHMs2sr/e2L3QefjP0yzVR8PvfRyvrGFQLBB.0y2hiAre"], ["created_at", 2016-12-12 09:20:48 UTC], ["updated_at", 2016-12-12 09:20:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:20:54 UTC], ["updated_at", 2016-12-12 09:20:54 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$0pV74yRRE1gw5q1nUI3LYu4KkBn8gartGB8m1TRoTKrYLlbNgbsBG"], ["created_at", 2016-12-12 09:20:54 UTC], ["updated_at", 2016-12-12 09:20:54 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (8.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:22:40 UTC], ["updated_at", 2016-12-12 09:22:40 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$1o0VtQBSJjybVDk2XKmDlOBzGDguUyS7Eddpgsiw0j1FeVB4znXQ2"], ["created_at", 2016-12-12 09:22:40 UTC], ["updated_at", 2016-12-12 09:22:40 UTC]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (13.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (6.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (1.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 117]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:27:10 UTC], ["updated_at", 2016-12-12 09:27:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 117]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_users"[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 61]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:27:43 UTC], ["updated_at", 2016-12-12 09:27:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$21iBViox/8qu7MhWmUg5Vez0ViAb1R9GvJ88tJYwhedl8RfFNiUAC"], ["created_at", 2016-12-12 09:27:43 UTC], ["updated_at", 2016-12-12 09:27:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_users"[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 61]]
[1m[35m (12.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 117]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:34:03 UTC], ["updated_at", 2016-12-12 09:34:03 UTC]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$p5DgSF3F9jPkEB78papQiul8T/3aZRp367valHq11kx8MkE.G0Rf6"], ["created_at", 2016-12-12 09:34:04 UTC], ["updated_at", 2016-12-12 09:34:04 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:34:04 +0100
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 09:34:04 UTC], ["last_sign_in_at", 2016-12-12 09:34:04 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 09:34:04 UTC], ["id", 63]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 5ms (Views: 0.7ms | ActiveRecord: 1.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_users"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 120]]
[1m[35m (7.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 63]]
[1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_users"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:35:20 UTC], ["updated_at", 2016-12-12 09:35:20 UTC]]
[1m[35m (12.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$bI3.3XxPDigjCsKrDkPsSe4nng/.CBtitECq/c4qdxV4asKjt9Yqu"], ["created_at", 2016-12-12 09:35:20 UTC], ["updated_at", 2016-12-12 09:35:20 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:35:21 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.1ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 09:35:21 UTC], ["last_sign_in_at", 2016-12-12 09:35:21 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 09:35:21 UTC], ["id", 64]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 3ms (Views: 0.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 121]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 64]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:42:58 UTC], ["updated_at", 2016-12-12 09:42:58 UTC]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$MyfniTES9nMT3aIMTfKIKOHvK8J2d6u/TyVhjCblXcq2mHNSzSp0S"], ["admin", true], ["created_at", 2016-12-12 09:42:58 UTC], ["updated_at", 2016-12-12 09:42:58 UTC]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:42:58 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 13ms (Views: 1.0ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:42:59 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 09:42:59 UTC], ["last_sign_in_at", 2016-12-12 09:42:59 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 09:42:59 UTC], ["id", 65]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 122]]
[1m[35m (9.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 65]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:43:34 UTC], ["updated_at", 2016-12-12 09:43:34 UTC]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$RvRThVLUnBsm7beUn20M/etVfu.LZcF8gXPObnTfxHzVbdmuAqzUS"], ["admin", true], ["created_at", 2016-12-12 09:43:34 UTC], ["updated_at", 2016-12-12 09:43:34 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:43:34 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 09:43:34 UTC], ["last_sign_in_at", 2016-12-12 09:43:34 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 09:43:34 UTC], ["id", 66]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:43:34 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 123]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 66]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 09:44:21 UTC], ["updated_at", 2016-12-12 09:44:21 UTC]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$.RGH/4s1QFquZw4b49JxF.78snMwwOAD50jSIq.rg0np9iLqZfqwC"], ["admin", true], ["created_at", 2016-12-12 09:44:21 UTC], ["updated_at", 2016-12-12 09:44:21 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:44:22 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 09:44:22 UTC], ["last_sign_in_at", 2016-12-12 09:44:22 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 09:44:22 UTC], ["id", 67]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 10:44:22 +0100
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 124]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 67]]
[1m[35m (4.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (27.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 10:55:32 UTC], ["updated_at", 2016-12-12 10:55:32 UTC]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (7.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$XaErg4QyUUGK3qQXwQh.Y.cYTDojlWZlB1g6JL6lQNG4wCn6oRQN6"], ["admin", true], ["created_at", 2016-12-12 10:55:32 UTC], ["updated_at", 2016-12-12 10:55:32 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (11.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (19.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 10:55:32 UTC], ["updated_at", 2016-12-12 10:55:32 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 50], ["locale", "en"], ["created_at", 2016-12-12 10:55:32 UTC], ["updated_at", 2016-12-12 10:55:32 UTC], ["title", "A property for "]]
[1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/50" for 127.0.0.1 at 2016-12-12 11:55:32 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 11:55:32 +0100
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 11:55:32 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 10:55:32 UTC], ["last_sign_in_at", 2016-12-12 10:55:32 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 10:55:32 UTC], ["id", 68]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 125]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 68]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 10:57:40 UTC], ["updated_at", 2016-12-12 10:57:40 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 51], ["locale", "en"], ["created_at", 2016-12-12 10:57:40 UTC], ["updated_at", 2016-12-12 10:57:40 UTC], ["title", "A property for "]]
[1m[35m (5.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref2bbed"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:00:57 UTC], ["updated_at", 2016-12-12 11:00:57 UTC]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 52], ["locale", "en"], ["created_at", 2016-12-12 11:00:57 UTC], ["updated_at", 2016-12-12 11:00:57 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:01:31 UTC], ["updated_at", 2016-12-12 11:01:31 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 53], ["locale", "en"], ["created_at", 2016-12-12 11:01:31 UTC], ["updated_at", 2016-12-12 11:01:31 UTC], ["title", "A property for "]]
[1m[35m (6.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/prop') OR "key" LIKE 'activerecord.models.pwb/prop.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/prop.reference') OR "key" LIKE 'activerecord.attributes.pwb/prop.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.reference') OR "key" LIKE 'attributes.reference.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.attributes.reference.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/prop.taken') OR "key" LIKE 'activerecord.errors.models.pwb/prop.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.reference.taken') OR "key" LIKE 'errors.attributes.reference.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_props"[0m
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props"[0m
[1m[36mPwb::Prop Load (6.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 51]]
[1m[35mSQL (6.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 51]]
[1m[35mSQL (21.7ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 51]]
[1m[35m (10.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 52]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 52]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 52]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 53]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 53]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 53]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:03:21 UTC], ["updated_at", 2016-12-12 11:03:21 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 54], ["locale", "en"], ["created_at", 2016-12-12 11:03:21 UTC], ["updated_at", 2016-12-12 11:03:21 UTC], ["title", "A property for "]]
[1m[35m (5.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:03:21 UTC], ["updated_at", 2016-12-12 11:03:21 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 55], ["locale", "en"], ["created_at", 2016-12-12 11:03:22 UTC], ["updated_at", 2016-12-12 11:03:22 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$kK1q5UibTOlBsrO02uJ59u5X9pL3UOd14RgMy/C7mdTD.Qk82nbgu"], ["admin", true], ["created_at", 2016-12-12 11:03:22 UTC], ["updated_at", 2016-12-12 11:03:22 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:03:22 UTC], ["updated_at", 2016-12-12 11:03:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 56], ["locale", "en"], ["created_at", 2016-12-12 11:03:22 UTC], ["updated_at", 2016-12-12 11:03:22 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/api/v1/properties/56" for 127.0.0.1 at 2016-12-12 12:03:22 +0100
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/54" for 127.0.0.1 at 2016-12-12 12:03:22 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:03:22 UTC], ["last_sign_in_at", 2016-12-12 11:03:22 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:03:22 UTC], ["id", 69]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"54"}
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 54], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (12.5ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 54]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 54]]
[1m[36mPwb::PropPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 54]]
Completed 200 OK in 74ms (Views: 1.9ms | ActiveRecord: 16.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:03:22 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 55]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 55]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 54]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 54]]
[1m[35m (4.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 69]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:07:04 UTC], ["updated_at", 2016-12-12 11:07:04 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 57], ["locale", "en"], ["created_at", 2016-12-12 11:07:04 UTC], ["updated_at", 2016-12-12 11:07:04 UTC], ["title", "A property for "]]
[1m[35m (12.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:07:04 UTC], ["updated_at", 2016-12-12 11:07:04 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 58], ["locale", "en"], ["created_at", 2016-12-12 11:07:04 UTC], ["updated_at", 2016-12-12 11:07:04 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (7.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$hijnjKjbgnf4h5d5ETN44uhafyXO5dUL.uXY4ZS.XzYyo.IzE7Zzm"], ["admin", true], ["created_at", 2016-12-12 11:07:04 UTC], ["updated_at", 2016-12-12 11:07:04 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/57" for 127.0.0.1 at 2016-12-12 12:07:04 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:07:09 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/57" for 127.0.0.1 at 2016-12-12 12:07:09 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:07:09 UTC], ["last_sign_in_at", 2016-12-12 11:07:09 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:07:09 UTC], ["id", 70]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"57"}
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 57], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 57]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 57]]
[1m[36mPwb::PropPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 57]]
Completed 200 OK in 70ms (Views: 2.8ms | ActiveRecord: 5.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 58]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 58]]
[1m[35m (7.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 57]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 57]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 70]]
[1m[35m (2.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:07:30 UTC], ["updated_at", 2016-12-12 11:07:30 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 59], ["locale", "en"], ["created_at", 2016-12-12 11:07:30 UTC], ["updated_at", 2016-12-12 11:07:30 UTC], ["title", "A property for "]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:07:30 UTC], ["updated_at", 2016-12-12 11:07:30 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 60], ["locale", "en"], ["created_at", 2016-12-12 11:07:30 UTC], ["updated_at", 2016-12-12 11:07:30 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$V5YK8EH2YeZFsG7Z.V607u3nGfIoSZmgdT.egSvtM0wRdih35fizG"], ["admin", true], ["created_at", 2016-12-12 11:07:30 UTC], ["updated_at", 2016-12-12 11:07:30 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:07:30 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/59" for 127.0.0.1 at 2016-12-12 12:07:30 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:07:30 UTC], ["last_sign_in_at", 2016-12-12 11:07:30 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:07:30 UTC], ["id", 71]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"59"}
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 59], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 59]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 59]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 59]]
Completed 200 OK in 67ms (Views: 2.1ms | ActiveRecord: 5.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/59" for 127.0.0.1 at 2016-12-12 12:07:37 +0100
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 60]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 60]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 59]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 59]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 71]]
[1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:08:26 UTC], ["updated_at", 2016-12-12 11:08:26 UTC]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 61], ["locale", "en"], ["created_at", 2016-12-12 11:08:26 UTC], ["updated_at", 2016-12-12 11:08:26 UTC], ["title", "A property for "]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:08:26 UTC], ["updated_at", 2016-12-12 11:08:26 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 62], ["locale", "en"], ["created_at", 2016-12-12 11:08:26 UTC], ["updated_at", 2016-12-12 11:08:26 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$RBhBvj7XPP/eeFWwU2Pv..Y1RUSMP2F49MK/svqAcuCETfhOjUSnu"], ["admin", true], ["created_at", 2016-12-12 11:08:26 UTC], ["updated_at", 2016-12-12 11:08:26 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/61" for 127.0.0.1 at 2016-12-12 12:08:26 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/61" for 127.0.0.1 at 2016-12-12 12:08:26 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:08:26 UTC], ["last_sign_in_at", 2016-12-12 11:08:26 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:08:26 UTC], ["id", 72]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"61"}
[1m[36mPwb::Prop Load (1.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 61], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 61]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 61]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 61]]
Completed 200 OK in 58ms (Views: 1.9ms | ActiveRecord: 5.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 62]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 62]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 61]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 61]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 72]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:09:14 UTC], ["updated_at", 2016-12-12 11:09:14 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 63], ["locale", "en"], ["created_at", 2016-12-12 11:09:14 UTC], ["updated_at", 2016-12-12 11:09:14 UTC], ["title", "A property for "]]
[1m[35m (11.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:09:14 UTC], ["updated_at", 2016-12-12 11:09:14 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 64], ["locale", "en"], ["created_at", 2016-12-12 11:09:14 UTC], ["updated_at", 2016-12-12 11:09:14 UTC], ["title", "A property for "]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$2JzRJWJlPHRwbBW79DUnneQTNvg6JNd4GN801b9Eaws30v3ei85H6"], ["admin", true], ["created_at", 2016-12-12 11:09:14 UTC], ["updated_at", 2016-12-12 11:09:14 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/63" for 127.0.0.1 at 2016-12-12 12:09:14 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:09:14 UTC], ["last_sign_in_at", 2016-12-12 11:09:14 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:09:14 UTC], ["id", 73]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"63"}
[1m[36mPwb::Prop Load (1.3ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 63], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 63]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 63]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 63]]
Completed 200 OK in 70ms (Views: 2.1ms | ActiveRecord: 5.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/63" for 127.0.0.1 at 2016-12-12 12:09:14 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 64]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 64]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 63]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 63]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 73]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-12 11:21:29 UTC], ["updated_at", 2016-12-12 11:21:29 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 65], ["locale", "en"], ["created_at", 2016-12-12 11:21:29 UTC], ["updated_at", 2016-12-12 11:21:29 UTC], ["title", "A property for "]]
[1m[35m (11.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-12 11:21:29 UTC], ["updated_at", 2016-12-12 11:21:29 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 66], ["locale", "en"], ["created_at", 2016-12-12 11:21:29 UTC], ["updated_at", 2016-12-12 11:21:29 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$CVkycFLde0IPMt7XnKHf/ec9XNCYAuFUtJSslWmg8p03FRLbktaRa"], ["admin", true], ["created_at", 2016-12-12 11:21:30 UTC], ["updated_at", 2016-12-12 11:21:30 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/65" for 127.0.0.1 at 2016-12-12 12:21:30 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/65" for 127.0.0.1 at 2016-12-12 12:21:30 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:21:30 UTC], ["last_sign_in_at", 2016-12-12 11:21:30 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:21:30 UTC], ["id", 74]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"65"}
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 65], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 65]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 65]]
[1m[36mPwb::PropPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 65]]
Completed 200 OK in 57ms (Views: 1.8ms | ActiveRecord: 5.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 66]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 66]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 65]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 65]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 74]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (3.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 11:21:41 UTC], ["updated_at", 2016-12-12 11:21:41 UTC]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$TJejkgCegpok/aPq8NxSGu3MgTiKIZFU150fnwnHeSYpv.88/rJ/q"], ["admin", true], ["created_at", 2016-12-12 11:21:41 UTC], ["updated_at", 2016-12-12 11:21:41 UTC]]
[1m[35m (1.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:21:41 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:21:41 UTC], ["last_sign_in_at", 2016-12-12 11:21:41 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:21:41 UTC], ["id", 75]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:21:41 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 126]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 75]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 11:24:25 UTC], ["updated_at", 2016-12-12 11:24:25 UTC]]
[1m[35m (12.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$bWTo1rRH4za2ULHc909P0uCXwRMKDgzikNoCEyUpMRbQK/TlOV2N."], ["admin", true], ["created_at", 2016-12-12 11:24:25 UTC], ["updated_at", 2016-12-12 11:24:25 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:24:25 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:24:25 UTC], ["last_sign_in_at", 2016-12-12 11:24:25 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:24:25 UTC], ["id", 76]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:24:25 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 127]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 76]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-12 11:25:37 UTC], ["updated_at", 2016-12-12 11:25:37 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$HF1bEd2NvU.Ea2OhEMwQfOPxDCrJq.QuttdyHC8OoKausGllu5ZsS"], ["admin", true], ["created_at", 2016-12-12 11:25:37 UTC], ["updated_at", 2016-12-12 11:25:37 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:25:37 +0100
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-12 12:25:37 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-12 11:25:37 UTC], ["last_sign_in_at", 2016-12-12 11:25:37 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-12 11:25:37 UTC], ["id", 77]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 17ms (Views: 1.7ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 128]]
[1m[35m (9.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 77]]
[1m[35m (4.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (6.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (6.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 16:04:44 UTC], ["updated_at", 2016-12-12 16:04:44 UTC]]
[1m[35m (6.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 16:07:48 UTC], ["updated_at", 2016-12-12 16:07:48 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 16:09:24 UTC], ["updated_at", 2016-12-12 16:09:24 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 16:10:03 UTC], ["updated_at", 2016-12-12 16:10:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (5.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-12 16:12:47 UTC], ["updated_at", 2016-12-12 16:12:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (25.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-13 11:50:06 UTC], ["updated_at", 2016-12-13 11:50:06 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-13 11:51:03 UTC], ["updated_at", 2016-12-13 11:51:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (18.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (17.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (4.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (27.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-14 11:53:53 UTC], ["updated_at", 2016-12-14 11:53:53 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-14 12:02:00 UTC], ["updated_at", 2016-12-14 12:02:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (23.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (15.3ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (12.8ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (29.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35m (6.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35m (13.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (26.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$wuvBtnZPFm19s1.P9OYlOe5sPsKSAR8gFADigEdIjo6X19PzB/ORy"], ["admin", true], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-16 16:00:14 +0100
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-16 16:00:14 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (13.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-16 15:00:14 UTC], ["last_sign_in_at", 2016-12-16 15:00:14 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-16 15:00:14 UTC], ["id", 78]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 35ms (Views: 1.4ms | ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 139]]
[1m[35m (8.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (6.6ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 78]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (7.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35mSQL (12.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 67], ["locale", "en"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"67", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 67], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 67]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 53ms (Views: 31.0ms | ActiveRecord: 3.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 68], ["locale", "en"], ["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"68", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:14 UTC], ["updated_at", 2016-12-16 15:00:14 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 68], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 6.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 69], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"69", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 69], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 69]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/props/show.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (8.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (17.8ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 75], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (1.7ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 75]]
[1m[36mPwb::ContentPhoto Load (0.4ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 76], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 76]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 77]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 78]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (7.8ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 74]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_about_us.html.erb (3.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (121.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 80], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 80]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 81], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.6ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 81]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 82]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 83]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/_content_area_cols.html.erb (6.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb (16.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 70], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 71], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 70]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 70]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 71]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 71]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$zKsZzCmBlsAXG21m9pkTdedbreX4EbEajjIC.gUgkvihyNI.OaZHK"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 79], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$2eiWX7FBRCH6frkcF9E4zeiZtPjdM5t08rj.2/5b1BMqIKD1QCbga"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 80], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.5ms)
Completed 200 OK in 18ms (Views: 8.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$/M16oJafIYxIN9fGBKpxq.5J9jHEhQ/3snQ0lofPieEUpFZ0Uaglq"], ["admin", true], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$E3dHeU8TOsTRMeGO6mKeNugsUhPtDC1kojqtMGJn7uloFt/33F0D6"], ["admin", true], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 82], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.7ms)
Completed 200 OK in 21ms (Views: 6.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 84], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 29ms (Views: 11.8ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 2.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 72], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["title", "A property for "]]
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 73], ["locale", "en"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC], ["title", "A property for "]]
[1m[35m (4.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$.fEkjovDAOtVzHveh..l4.Wgku44qKGimIkEiQupbFMmwmj5PkacK"], ["admin", true], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/72" for 127.0.0.1 at 2016-12-16 16:00:15 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-16 15:00:15 UTC], ["last_sign_in_at", 2016-12-16 15:00:15 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-16 15:00:15 UTC], ["id", 83]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"72"}
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 72], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 72]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 72]]
[1m[36mPwb::PropPhoto Load (0.9ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 72]]
Completed 200 OK in 28ms (Views: 1.9ms | ActiveRecord: 4.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/72" for 127.0.0.1 at 2016-12-16 16:00:15 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 73]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 73]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 72]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 72]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 83]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-16 15:00:15 UTC], ["updated_at", 2016-12-16 15:00:15 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (18.3ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (17.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/layouts/pwb/application.html.erb (5440.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$erT8XkPon89I9jf8QhOWCOiSIeFS6U.GYumEw47mKJD9FGn9TAjXO"], ["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-16 16:00:21 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-16 15:00:21 UTC], ["last_sign_in_at", 2016-12-16 15:00:21 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-16 15:00:21 UTC], ["id", 84]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/application (0.6ms)
[1m[36mPwb::Section Load (0.9ms)[0m [1m[34mSELECT "pwb_sections".* FROM "pwb_sections" WHERE "pwb_sections"."visible" = $1 ORDER BY sort_order[0m [["visible", true]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (12.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.7ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.9ms)
Completed 200 OK in 67ms (Views: 53.5ms | ActiveRecord: 2.5ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-16 16:00:21 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-16 15:00:21 UTC], ["updated_at", 2016-12-16 15:00:21 UTC]]
[1m[35m (2.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/_contact_us_form.html.erb (28.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/themes/standard/sections/contact_us.html.erb (68.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (13.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (10.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (12.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (5.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (29.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (6.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:25:03 UTC], ["updated_at", 2016-12-16 19:25:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:25 UTC], ["updated_at", 2016-12-16 19:26:25 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:25 UTC], ["updated_at", 2016-12-16 19:26:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:31 UTC], ["updated_at", 2016-12-16 19:26:31 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:31 UTC], ["updated_at", 2016-12-16 19:26:31 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:37 UTC], ["updated_at", 2016-12-16 19:26:37 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:26:37 UTC], ["updated_at", 2016-12-16 19:26:37 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:27:44 UTC], ["updated_at", 2016-12-16 19:27:44 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:28:22 UTC], ["updated_at", 2016-12-16 19:28:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:29:12 UTC], ["updated_at", 2016-12-16 19:29:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:30:13 UTC], ["updated_at", 2016-12-16 19:30:13 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms)
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (6.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:30:51 UTC], ["updated_at", 2016-12-16 19:30:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 10ms (ActiveRecord: 0.0ms)
[1m[35m (1.2ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (3.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (23.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$xM61rmbOqmO2VV/m13G3su9UO5mv30xNfJZNbYnYID4mPxFbOr0tC"], ["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$NfkNN.e/CeiNoq23n01OG.fAxLYjj0dLMDJ7qu6FA4xSig1tq6zFu"], ["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 86], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 54ms (Views: 0.3ms | ActiveRecord: 5.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$SBHyy7NrjlsI3iihFONqG.4vxLPIZedfnxS8J2.Ct1KXjXNGHpeES"], ["admin", true], ["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 87], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$YfpjoF1VHZJN2YgBM26rjeMX8Sx1coan3nnk72mPZPnfrXL2lttHC"], ["admin", true], ["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 88], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 19ms (Views: 1.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:35 UTC], ["updated_at", 2016-12-16 19:40:35 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 8ms (ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (2.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$myd.RxL0RX.0hB0lpI794OQB3sDyHbCBevERvMdjJKVP3Bj.4gtsy"], ["admin", true], ["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 89], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Ss27UGoaV6c3XR3xzaHQcOaGHnqUcTsRrTTh8k3is/RGjFi7arwva"], ["admin", true], ["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 90], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 56ms (Views: 1.3ms | ActiveRecord: 5.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$amu8QTmUhIAcGebHqCh73e6vP1XmnSoAp45mBVgUwLy2pnN/0zCjq"], ["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 91], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$3CSY7lmTVxUO87jAE3hxy.K/9qWFZ3mIWvcNgIHuH6OS7vHop/Krq"], ["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 92], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (4.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 14ms (Views: 0.3ms | ActiveRecord: 6.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:40:45 UTC], ["updated_at", 2016-12-16 19:40:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 7ms (ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$vxF/hz7toSZ9bqiGtr4Ew.oAdl3xLxa8hpdjJryrULEvm1UKZ.17m"], ["created_at", 2016-12-16 19:41:25 UTC], ["updated_at", 2016-12-16 19:41:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 93], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$dWQweQm8/p9GxKtmtn84JutiqGaCL8TUM2tVn5yNNdkm/vmQqn6q2"], ["created_at", 2016-12-16 19:41:25 UTC], ["updated_at", 2016-12-16 19:41:25 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (1.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 94], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (3.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:43:17 UTC], ["updated_at", 2016-12-16 19:43:17 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 179ms (Views: 1.3ms | ActiveRecord: 14.7ms)
Processing by Pwb::Api::V1::AgencyController#show as HTML
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 0ms (Views: 0.1ms | ActiveRecord: 14.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$QVXO1LWqbUUoTM54JzGvf.uenPC6GUG0pjHg9WLdc16kcJcICnwTe"], ["admin", true], ["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 95], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$R1B6FmyYBtFw8Ux2ZPEoFOMhgnhpnrFtF7c2VkYQVCwHRYZmzEW4C"], ["admin", true], ["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 96], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 29ms (Views: 2.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:43:30 UTC], ["updated_at", 2016-12-16 19:43:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 22ms (ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:43:38 UTC], ["updated_at", 2016-12-16 19:43:38 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
Completed 401 Unauthorized in 12ms (ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$MbHfUyF2ZZjTr3GmYIqBeeY/WMz1xr.LLHgTnmuF5XLASZ17G04lO"], ["admin", true], ["created_at", 2016-12-16 19:43:39 UTC], ["updated_at", 2016-12-16 19:43:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 97], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$iv2HQcYqnxQzHuthm9q37epINCCDljAn.V1FK.hkGMOwdJH7zqYQW"], ["admin", true], ["created_at", 2016-12-16 19:43:39 UTC], ["updated_at", 2016-12-16 19:43:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (1.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 98], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:52:07 UTC], ["updated_at", 2016-12-16 19:52:07 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 106ms (Views: 6.7ms | ActiveRecord: 5.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (2.1ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$vWQxd16KNQtRPjD31YBOTOnPvdtgtCQO6mPRYV1h6ciC8yWaAzLdm"], ["created_at", 2016-12-16 19:52:07 UTC], ["updated_at", 2016-12-16 19:52:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 99], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$0f5spRhonRXDLs.pdnzNH.C3ZZ1jPoKOhhTEW/vcm36Oi1PiH0fdK"], ["created_at", 2016-12-16 19:52:07 UTC], ["updated_at", 2016-12-16 19:52:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 100], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:52:49 UTC], ["updated_at", 2016-12-16 19:52:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 12ms (Views: 0.3ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$B.Bm2a.YyJubEVqy8Ea9N.Is7Jk/edOSgybmdryjXW0IxtJlonhKG"], ["admin", true], ["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 101], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$SXYy3MCBnvNmNAxserH.8.GvWsphlJEPH1mxTbxm8ahWRt1w3WJEa"], ["admin", true], ["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 102], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$4hLy4.6ZSuGMDuqcCP7UNuRXJuhBg6TaYF0LAVD7AP5pRoi3F8Ouq"], ["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 103], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$hMt/WzFZarAHycnTREsa/.0xu5vek013DhbHJud3nMExpGTrg3/a."], ["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 104], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:52:59 UTC], ["updated_at", 2016-12-16 19:52:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 10ms (Views: 0.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$j9VCus5Nj4HySlzxL7SzCeJm4VFGYn/xU4h1Mf5UqcCKgP/FEBSjy"], ["admin", true], ["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 105], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$hzSjgV9rGahAH6/dD.Aroez8eUrZg25XByxhi/4MntR9/4zphyGd."], ["admin", true], ["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 106], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 1.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$PUIFDJvfRevmhkzDM4vIcOABka4OpqLKBF4dm1LLaWqdB3knuC28S"], ["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 107], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Dmbgonq6bBIn4c9YnqA3suo5pg1GYRRn0DGMVsffFImT3VrCumeny"], ["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 108], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:55:19 UTC], ["updated_at", 2016-12-16 19:55:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$FxuBES0alIn0dX41kjTW7.PO7/dHTpyzuCqQzQ/MKrMVkyASK/jl2"], ["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 109], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$otSRlrM5p7kBeZqtbvJnsetEPfbeuI3SHQ.xUYQ6kjOxNaUh1HZPe"], ["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 110], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 53ms (Views: 0.3ms | ActiveRecord: 5.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$0xYqgJJuWh/1S3Vlqdk/0OIBsRmMfANxLRyYSgkJmjWnb.UX0RSKG"], ["admin", true], ["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 111], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$XsSmzeUr.OqRjvRPNlfZ1.LbjU28hi6r0yW9sqrolaaHsq4hRcBk."], ["admin", true], ["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 19:55:39 UTC], ["updated_at", 2016-12-16 19:55:39 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 112], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 0.9ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (8.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$7zSaSQgOrEQzGX6p9PkjjOx7YGIPxD9MJRifIy.nkhvEGvR5C.HKK"], ["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 113], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$gizqUaT20YzhIlAmJHxe2.VjhuE2pZ.BauEirXQj15.A2vGDFOjPS"], ["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 114], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 80ms (Views: 0.5ms | ActiveRecord: 8.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$JsTROiy8QV5Q8srBP5OfbuZn9xIcVp5Fq988B8RCzBMDDEl0snXd2"], ["admin", true], ["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 115], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Gr7SNdvlTR4lrmuK7GGtvOQzUn06PCs02j.NZOF3RA41PtdeteLA2"], ["admin", true], ["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:03:46 UTC], ["updated_at", 2016-12-16 20:03:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 116], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 19ms (Views: 2.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$i1H3LJ7e3VGRAmU08s3ITOnrQdPuZYFnNWqj2xANh7Z/ublEdkE1y"], ["admin", true], ["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 117], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$IqaNmjrYw7BrgFTYS47poOMEZA84sfd12le56M9sEsRjn13dn438e"], ["admin", true], ["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 118], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$fnmhFcE82de34lOIY21LQuNkx7PZ1kx1ZEvj8Q5koHC8gUHzkHtce"], ["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 119], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$c5TnRT5d.LNv3oHgoGKyF.RR.BEar/EJnlD9r0jKUQ3XEc2VtZxNO"], ["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 120], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:03:53 UTC], ["updated_at", 2016-12-16 20:03:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$kScscvdWQPgWyIL/JFOlGeYPWmfLQcL0x0.Rcp9b/L3UFyj1c4HL2"], ["admin", true], ["created_at", 2016-12-16 20:04:00 UTC], ["updated_at", 2016-12-16 20:04:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 121], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Dc2q.6B27BXtAhvEICWCPO.lYgaZWCHwHsJpxQK7idyVSVacNB65q"], ["admin", true], ["created_at", 2016-12-16 20:04:00 UTC], ["updated_at", 2016-12-16 20:04:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:04:00 UTC], ["updated_at", 2016-12-16 20:04:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 122], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 1.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$u2d.KfBcTbnwbHmjJlN2be0rCSi1TJc3U3kpQ.0zjh8gGrsxZgMcu"], ["created_at", 2016-12-16 20:04:01 UTC], ["updated_at", 2016-12-16 20:04:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 123], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$jprABuIcywCbn0x8YAYyCuMpwChmoVk7ntXVwO5ZVzlkUKfCd/OvK"], ["created_at", 2016-12-16 20:04:01 UTC], ["updated_at", 2016-12-16 20:04:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 124], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:04:01 UTC], ["updated_at", 2016-12-16 20:04:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$bcvZm0V/hNmxNPw9RwO63Oogs/X9gWn3a6/MGmgv0TWsuKuYh1bnu"], ["admin", true], ["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 125], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$UmeOyRA60cQMPfHMQpHUXucLHuuaqvFyfBhYFT0GQlXcfEtQqm.7K"], ["admin", true], ["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 126], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 17ms (Views: 1.5ms | ActiveRecord: 1.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$KcKWo2XNovPNsUDSK5j0xOn9atJP9dSJ5DsyP9.9FxJUpfaRyz34u"], ["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 127], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$fijz49gUlws3uwbl2mJNW.1Y41gu8lT05PB8hfMVRErjAnUWq2gFa"], ["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 128], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:04:32 UTC], ["updated_at", 2016-12-16 20:04:32 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$IEQkC47GZhBbgPJsbe2/euDMOjTpNJ7iP7BA0HF3JwQ8UwxK5kkDm"], ["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 129], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$7.FduaS/mtAw19V2MXE/Fe/jVV7Wlv8EmpNTrOVhFpHHcwSR7g8Di"], ["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 130], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 53ms (Views: 0.3ms | ActiveRecord: 4.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$bfHkUWgey0l9ZzX3McV8fuhAhMipFu0OWgUg.AmEHrnSPY4NxVC42"], ["admin", true], ["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 131], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$ymLqgpho5HQhH/y82ejuveKBmi2tbju8FVMiyCSqU2XLd5t.DkCmS"], ["admin", true], ["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-16 20:05:03 UTC], ["updated_at", 2016-12-16 20:05:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 132], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (19.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (11.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (30.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (15.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 163ms (Views: 27.3ms | ActiveRecord: 44.0ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:17:21 UTC], ["updated_at", 2016-12-21 10:17:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.6ms)
Completed 200 OK in 206ms (Views: 30.2ms | ActiveRecord: 21.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:18:27 UTC], ["updated_at", 2016-12-21 10:18:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/welcome/index.html.erb within layouts/pwb/application (0.1ms)
Completed 200 OK in 18ms (Views: 5.6ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 406 Not Acceptable in 375ms (ActiveRecord: 14.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:21:53 UTC], ["updated_at", 2016-12-21 10:21:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 406 Not Acceptable in 60ms (ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 406 Not Acceptable in 414ms (ActiveRecord: 15.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:22:00 UTC], ["updated_at", 2016-12-21 10:22:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 406 Not Acceptable in 67ms (ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application (0.7ms)
Completed 200 OK in 204ms (Views: 31.3ms | ActiveRecord: 20.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:22:16 UTC], ["updated_at", 2016-12-21 10:22:16 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 19ms (Views: 9.0ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 121ms (Views: 28.1ms | ActiveRecord: 16.3ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:23:43 UTC], ["updated_at", 2016-12-21 10:23:43 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 16ms (Views: 7.9ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:26:13 UTC], ["updated_at", 2016-12-21 10:26:13 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 188ms (ActiveRecord: 22.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:26:14 UTC], ["updated_at", 2016-12-21 10:26:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:26:14 UTC], ["updated_at", 2016-12-21 10:26:14 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 10ms (ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:26:38 UTC], ["updated_at", 2016-12-21 10:26:38 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.8ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 537213ms (ActiveRecord: 24.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:35:35 UTC], ["updated_at", 2016-12-21 10:35:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (7.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:35:35 UTC], ["updated_at", 2016-12-21 10:35:35 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 4015ms (ActiveRecord: 9.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/chic/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/chic/views/welcome/index.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 242ms (Views: 38.5ms | ActiveRecord: 27.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:35:47 UTC], ["updated_at", 2016-12-21 10:35:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/chic/views/welcome/index.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/chic/views/welcome/index.html.erb within layouts/pwb/application (0.3ms)
Completed 200 OK in 25ms (Views: 14.9ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 120ms (ActiveRecord: 13.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 10:37:49 UTC], ["updated_at", 2016-12-21 10:37:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Completed 500 Internal Server Error in 14ms (ActiveRecord: 7.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (7.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (23.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (5.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 74], ["locale", "en"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"74", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (7.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 74], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 74]]
Completed 500 Internal Server Error in 104ms (ActiveRecord: 15.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 75], ["locale", "en"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"75", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 75], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb within layouts/pwb/application (0.4ms)
Completed 200 OK in 43ms (Views: 33.4ms | ActiveRecord: 2.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 76], ["locale", "en"], ["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"76", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 11:17:40 UTC], ["updated_at", 2016-12-21 11:17:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 76], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 76]]
Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (7.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 12:39:59 UTC], ["updated_at", 2016-12-21 12:39:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 12:39:59 UTC], ["updated_at", 2016-12-21 12:39:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 12:39:59 UTC], ["updated_at", 2016-12-21 12:39:59 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (6.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (25.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (4.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Tw2TEmyOp7IjDbKMJvEFr.2t9lPgRSmXoXFQr5CLoEEN5lRVfmO6C"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 13:40:00 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (24.1ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 12:40:00 UTC], ["last_sign_in_at", 2016-12-21 12:40:00 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 12:40:00 UTC], ["id", 133]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Completed 500 Internal Server Error in 161ms (ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (8.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (8.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 77], ["locale", "en"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC], ["title", "A property for "]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 78], ["locale", "en"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$713qvQYjbR6msybMbMCpRONNP8IFX5kdR2eruBodBFmKZu2CFVjpS"], ["admin", true], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/77" for 127.0.0.1 at 2016-12-21 13:40:00 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 12:40:00 UTC], ["last_sign_in_at", 2016-12-21 12:40:00 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 12:40:00 UTC], ["id", 134]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"77"}
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 77], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.5ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 77]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 77]]
[1m[36mPwb::PropPhoto Load (0.8ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 77]]
Completed 200 OK in 40ms (Views: 2.5ms | ActiveRecord: 5.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/77" for 127.0.0.1 at 2016-12-21 13:40:00 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 78]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 78]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 77]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 77]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 134]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$2ogU0yZWmiusSVGLaOzap.InycOoItLPa7qjGgIe6QBQXb.Pf8FAi"], ["admin", true], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 13:40:00 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 13:40:00 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 12:40:00 UTC], ["last_sign_in_at", 2016-12-21 12:40:00 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 12:40:00 UTC], ["id", 135]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 217]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 135]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Fv6r.rmacagtzxtAe0piweWb0DGazA4axqINIhbEL8pB09ZRDKkRq"], ["admin", true], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 136], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$wrF1N89iAVJ6eClovdcexelFiJYX1uRWMTd/NARp3yavTE/BofZF2"], ["admin", true], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 137], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$xUopXim7g9xa5QjcJBUvk.ljAD90OjDG47XEsCtVoEcTqey756bcC"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 138], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$avS6dVvPKmbPNYVfWONmPuaDPvBdzRp6iVa8Im2W8grzvkK7M1uXm"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 139], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 12:40:00 UTC], ["updated_at", 2016-12-21 12:40:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.5ms)
Completed 200 OK in 500ms (Views: 489.3ms | ActiveRecord: 2.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 45ms (Views: 33.3ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 97], ["locale", "en"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 79], ["locale", "en"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 80], ["locale", "en"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 79]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 79]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 80]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 80]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$5nUi9294G9Xcm/zc8L5J8es1KU94aiws2JdVXDyw.65jmzN3CWRxG"], ["admin", true], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 140], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$b3ympoMtH2q7n4.J.ErCtuD6Gx0.MNhWzOGZhkRw0HKBTY.l/NTB2"], ["admin", true], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 141], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 40ms (Views: 22.2ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$fRCH30qBLZeyjqIhAYdEXeNQFzVOE8nQdpbiTapxjC0YZ6I4WYeyu"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 142], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$M5b5murynHZuQsMF9FWawO4Kh.Fllwrb5Uwm0kaq1RXgLrzGeNBy."], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 143], ["LIMIT", 1]]
Completed 500 Internal Server Error in 224ms (ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:01 UTC], ["updated_at", 2016-12-21 12:40:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 81], ["locale", "en"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"81", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 81], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 81]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.0ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.0ms)
Completed 200 OK in 39ms (Views: 26.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 82], ["locale", "en"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"82", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 82], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.0ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.0ms)
Completed 200 OK in 36ms (Views: 27.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 83], ["locale", "en"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"83", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 83], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 83]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.0ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.0ms)
Completed 200 OK in 35ms (Views: 25.8ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 12:40:02 UTC], ["updated_at", 2016-12-21 12:40:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 12:45:08 UTC], ["updated_at", 2016-12-21 12:45:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:45:08 UTC], ["updated_at", 2016-12-21 12:45:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 652ms (Views: 561.2ms | ActiveRecord: 15.5ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:45:09 UTC], ["updated_at", 2016-12-21 12:45:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.2ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 68ms (Views: 55.2ms | ActiveRecord: 2.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (12.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 84], ["locale", "en"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"84", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 84], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 84]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 582ms (Views: 519.5ms | ActiveRecord: 7.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 85], ["locale", "en"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"85", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 85], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 85]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 37ms (Views: 26.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 86], ["locale", "en"], ["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"86", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 12:47:45 UTC], ["updated_at", 2016-12-21 12:47:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 86], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 38ms (Views: 30.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (32.1ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:07:18 UTC], ["updated_at", 2016-12-21 15:07:18 UTC]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (28.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:18 UTC], ["updated_at", 2016-12-21 15:07:18 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 813ms (Views: 656.5ms | ActiveRecord: 55.3ms)
[1m[36mPwb::Content Load (1.1ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 39ms (Views: 29.8ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (10.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (18.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 87], ["locale", "en"], ["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"87", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 87], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (1.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 87]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 44ms (Views: 28.7ms | ActiveRecord: 3.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 88], ["locale", "en"], ["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"88", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:19 UTC], ["updated_at", 2016-12-21 15:07:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 88], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 71ms (Views: 60.8ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:20 UTC], ["updated_at", 2016-12-21 15:07:20 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 89], ["locale", "en"], ["created_at", 2016-12-21 15:07:20 UTC], ["updated_at", 2016-12-21 15:07:20 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"89", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:20 UTC], ["updated_at", 2016-12-21 15:07:20 UTC]]
[1m[35m (2.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 89], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 89]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 74ms (Views: 48.3ms | ActiveRecord: 4.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.5ms)
Completed 200 OK in 649ms (Views: 484.7ms | ActiveRecord: 21.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.1ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:29 UTC], ["updated_at", 2016-12-21 15:07:29 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.7ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 66ms (Views: 44.6ms | ActiveRecord: 5.4ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 90], ["locale", "en"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"90", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 90], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 125ms (Views: 111.6ms | ActiveRecord: 2.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 91], ["locale", "en"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"91", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 91], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 91]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 80ms (Views: 59.9ms | ActiveRecord: 3.1ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 92], ["locale", "en"], ["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"92", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:07:30 UTC], ["updated_at", 2016-12-21 15:07:30 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 92], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 92]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 54ms (Views: 41.1ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 639ms (Views: 543.8ms | ActiveRecord: 15.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:04 UTC], ["updated_at", 2016-12-21 15:31:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 50ms (Views: 36.4ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 93], ["locale", "en"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"93", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (7.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 93], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 93]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 52ms (Views: 31.5ms | ActiveRecord: 8.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 94], ["locale", "en"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"94", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 94], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 49ms (Views: 41.3ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 95], ["locale", "en"], ["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"95", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:05 UTC], ["updated_at", 2016-12-21 15:31:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 95], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 95]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 47ms (Views: 35.7ms | ActiveRecord: 2.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 96], ["locale", "en"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"96", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 96], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 96]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 494ms (Views: 433.3ms | ActiveRecord: 8.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 97], ["locale", "en"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"97", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 97], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 97]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 53ms (Views: 33.0ms | ActiveRecord: 2.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 98], ["locale", "en"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"98", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 98], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 39ms (Views: 30.5ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 52ms (Views: 28.5ms | ActiveRecord: 4.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 15:31:12 UTC], ["updated_at", 2016-12-21 15:31:12 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 43ms (Views: 33.7ms | ActiveRecord: 1.6ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (13.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (6.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$MiwX7CODn3QoLoqKsuKxFe6Z2wfSv1Tqu3vo0JNy8NiTkPSm.9.gy"], ["created_at", 2016-12-21 15:33:49 UTC], ["updated_at", 2016-12-21 15:33:49 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 144], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$xW1dH19Nmk4CtQ0czjSdsewEca4BIYN6502Q4NE8v/ZhKAASpck4O"], ["created_at", 2016-12-21 15:33:49 UTC], ["updated_at", 2016-12-21 15:33:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 145], ["LIMIT", 1]]
Completed 500 Internal Server Error in 158ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$o1.KeR9ZyZcs9nRm2eD4JuQb4Jwbthpv8yZ6.FG0bqj4qYdF0Hqly"], ["admin", true], ["created_at", 2016-12-21 15:33:49 UTC], ["updated_at", 2016-12-21 15:33:49 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 146], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Fcn/dEcb7Vbi0w6US3JiKuvGu1gvDmAzq984uHs/WiZqbs5k8yI2q"], ["admin", true], ["created_at", 2016-12-21 15:33:49 UTC], ["updated_at", 2016-12-21 15:33:49 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 147], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 15ms (Views: 6.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (6.6ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (15.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (27.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:44 UTC], ["updated_at", 2016-12-21 16:10:44 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 99], ["locale", "en"], ["created_at", 2016-12-21 16:10:44 UTC], ["updated_at", 2016-12-21 16:10:44 UTC], ["title", "A property for "]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:44 UTC], ["updated_at", 2016-12-21 16:10:44 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 100], ["locale", "en"], ["created_at", 2016-12-21 16:10:44 UTC], ["updated_at", 2016-12-21 16:10:44 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$AhLDiOjZ5UmhrOi2crHgSeXkepgAANly8vImErkibn7Cf0QYTI1Fu"], ["admin", true], ["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/99" for 127.0.0.1 at 2016-12-21 17:10:45 +0100
[1m[35m (6.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (12.1ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:10:45 UTC], ["last_sign_in_at", 2016-12-21 16:10:45 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:10:45 UTC], ["id", 148]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"99"}
[1m[36mPwb::Prop Load (1.1ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 99], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.5ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 99]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 99]]
[1m[36mPwb::PropPhoto Load (6.9ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 99]]
Completed 200 OK in 46ms (Views: 2.3ms | ActiveRecord: 12.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/99" for 127.0.0.1 at 2016-12-21 17:10:45 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 100]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 100]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 99]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 99]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 148]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.6ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (1.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 507ms (Views: 479.0ms | ActiveRecord: 6.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 35ms (Views: 26.4ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$/cG.tquIrV/QK3ecUr5mbezvPgwvZNPdsxQYfxtq08H9qugedZ8Rm"], ["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 149], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$xryX4BjNnIM3zebsl.g.CeM2BV8l5PDDW44kIOBj0P.PrLEmREgLC"], ["created_at", 2016-12-21 16:10:45 UTC], ["updated_at", 2016-12-21 16:10:45 UTC]]
[1m[35m (4.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 150], ["LIMIT", 1]]
Completed 500 Internal Server Error in 152ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$GeACPhWulS8Orcq2yRCW4OCNmOPbVzA5Lldyujob/cbM2Mb9b4yr6"], ["admin", true], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 151], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$5re2VAlg7hbYIYMnTDaD6.qN1Vu4L203mPKHrKFRY6dNNIFKofWAq"], ["admin", true], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 152], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.3ms)
Completed 200 OK in 15ms (Views: 6.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 101], ["locale", "en"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 102], ["locale", "en"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 101]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 101]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 102]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 102]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$aom0ToZkX7ccITkET.Zq4utO1ANq/FvD7pVePjlyE2hpjWw1/wVom"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:10:46 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:10:46 UTC], ["last_sign_in_at", 2016-12-21 16:10:46 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:10:46 UTC], ["id", 153]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Completed 500 Internal Server Error in 100ms (ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$255zyyx4464pU6/WI7mHv.RIOLK5ido1/dN6vP6pzV01XilpylQ5u"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 154], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$1tQbuBPV2JTqniizc6qIL.hPicCyNsVdGCh6tkNXeUtfjgaDKJ3Zq"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 155], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 15ms (Views: 0.5ms | ActiveRecord: 2.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Vz7u.gSd6ILvSwVJVenvFOaiuTvPTEmFgI2iQrO.Z2buneVAqGGey"], ["admin", true], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (1.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 156], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$3qQsX0IrzPjQ0Pne3WDnK.hqYt5VrR7fQXkKF9n3Qp7E/ocJV2Xwm"], ["admin", true], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 14ms (Views: 2.6ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 114], ["locale", "en"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$RRB8svTNMzwDbxKjJyqxnuNrKbiWx7mQ3yJvJ.qWkqpwwGFdEQVJO"], ["admin", true], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (4.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:10:46 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:10:46 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:10:46 UTC], ["last_sign_in_at", 2016-12-21 16:10:46 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:10:46 UTC], ["id", 158]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 9ms (Views: 2.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 260]]
[1m[35m (5.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 158]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.8ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 103], ["locale", "en"], ["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"103", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:46 UTC], ["updated_at", 2016-12-21 16:10:46 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 103], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 103]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.5ms)
Completed 200 OK in 85ms (Views: 69.9ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 104], ["locale", "en"], ["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"104", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 104], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 60ms (Views: 47.9ms | ActiveRecord: 2.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 105], ["locale", "en"], ["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"105", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:10:47 UTC], ["updated_at", 2016-12-21 16:10:47 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 105], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 105]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 46ms (Views: 29.0ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:02 UTC], ["updated_at", 2016-12-21 16:12:02 UTC]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 106], ["locale", "en"], ["created_at", 2016-12-21 16:12:02 UTC], ["updated_at", 2016-12-21 16:12:02 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"106", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.6ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:02 UTC], ["updated_at", 2016-12-21 16:12:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 106], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.5ms)
Completed 200 OK in 623ms (Views: 563.0ms | ActiveRecord: 6.9ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 107], ["locale", "en"], ["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"107", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 107], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 107]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 43ms (Views: 31.4ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 108], ["locale", "en"], ["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"108", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:03 UTC], ["updated_at", 2016-12-21 16:12:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 108], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 108]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 41ms (Views: 29.6ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$BHpSwbk32v7/rK0j0ULbVO/WHUVwSpaWB.Tnzo6/v9mdBovEXTLCC"], ["admin", true], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.8ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 159], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$XlnD.hkh05kXv9a0XRcnd.LdD8MA567XcDLpU2YF9fBkLzRn.Skqu"], ["admin", true], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 160], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (6.2ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$5j0jrwPTXLRwMkmaG5YPQ.4Aniq553ZQaJAWoAKYCDRfu6fFSSsLm"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 161], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$pNBziBOfZGmNL9FjFFsDo.yZlMWtaDMo.9Kh.bdgeH4qLSBhdo2BS"], ["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.9ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 162], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:20 UTC], ["updated_at", 2016-12-21 16:12:20 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$P/8Z.l/7TdZb/GQp1.u5cen6SW3EcPithtsWNnfXYvSaN2oPogIc2"], ["admin", true], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:12:21 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:12:21 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:12:21 UTC], ["last_sign_in_at", 2016-12-21 16:12:21 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:12:21 UTC], ["id", 163]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 271]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 163]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 506ms (Views: 478.4ms | ActiveRecord: 6.2ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 39ms (Views: 29.6ms | ActiveRecord: 1.7ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:21 UTC], ["updated_at", 2016-12-21 16:12:21 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 109], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"109", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 109], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 109]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 64ms (Views: 38.8ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (3.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 110], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"110", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.3ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 110], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 110]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 51ms (Views: 35.8ms | ActiveRecord: 3.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 111], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"111", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 111], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (1.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 51ms (Views: 38.7ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 112], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (12.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 113], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 112]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 112]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 113]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 113]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 136], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 114], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 115], ["locale", "en"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$tbkrwe9.gpkYyOOd8krPz.ZqukAOtUv0L4epdIVZfD1SKYvHu2BUK"], ["admin", true], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/114" for 127.0.0.1 at 2016-12-21 17:12:22 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:12:22 UTC], ["last_sign_in_at", 2016-12-21 16:12:22 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:12:22 UTC], ["id", 164]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"114"}
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 114], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 114]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 114]]
[1m[36mPwb::PropPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 114]]
Completed 200 OK in 33ms (Views: 2.0ms | ActiveRecord: 5.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/114" for 127.0.0.1 at 2016-12-21 17:12:22 +0100
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 115]]
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 115]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 114]]
[1m[35mSQL (3.2ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 114]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (2.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 164]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$McffdBAwlm2WaHJpvpX/4OyMakP5lYJZnDd5A2VDC7ezUKJYgYSNe"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:12:22 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:12:22 UTC], ["last_sign_in_at", 2016-12-21 16:12:22 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:12:22 UTC], ["id", 165]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Completed 500 Internal Server Error in 97ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$6hS8sSfqWnLckZ48ko0e6uYAzKFFjuiq0V.90SOaITeJJ7ozZIBxq"], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 166], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Ax.YenoWGpTmq0HwHeSoluqaRWhkErNDNxKCY4AjvP5dH8TUEnQn."], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 167], ["LIMIT", 1]]
Completed 500 Internal Server Error in 134ms (ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$jRni7M9rYhcriLL5MXtugO1yhYkzWxWrz2P743PLtmjBzLoxqCtiW"], ["admin", true], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 168], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Z.z9igMSrAjpN0yQUXCOAulRLqPoQkorU6i1LUB5mnLsunTQIHIYq"], ["admin", true], ["created_at", 2016-12-21 16:12:22 UTC], ["updated_at", 2016-12-21 16:12:22 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 169], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 15ms (Views: 6.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$480qzXKBjMcVYBsRisLd6uKkIkYOXNjLGyBLZY8S2T.EnYRuH8I.i"], ["created_at", 2016-12-21 16:13:23 UTC], ["updated_at", 2016-12-21 16:13:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 170], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$e0NGrAqDOPUvQpSHruCu4.Q3Aj1VCjgVxfokPgSYYCzz5GVy7g8Re"], ["created_at", 2016-12-21 16:13:23 UTC], ["updated_at", 2016-12-21 16:13:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 171], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.3ms)
Completed 200 OK in 21ms (Views: 18.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$EjP0wO4v31lpPtsjqczq3.Osb.4K6KZTPEBdB58LpuN5NF7EQDw3u"], ["admin", true], ["created_at", 2016-12-21 16:13:23 UTC], ["updated_at", 2016-12-21 16:13:23 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 172], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (5.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$LI45y928/5WMzpRZay8h.e1BnmIeUCItWPc7xCoZ4oM0fEWse1kRa"], ["admin", true], ["created_at", 2016-12-21 16:13:23 UTC], ["updated_at", 2016-12-21 16:13:23 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 173], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 18ms (Views: 8.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:04 UTC], ["updated_at", 2016-12-21 16:15:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$SgVQLSQ0qHmSA7goSoIOVOXdzP7T68HAvxQbHfVCc9wtCJTI5.2.G"], ["admin", true], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 174], ["LIMIT", 1]]
[1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$E0ac8fYVFYrBgm47rexRZ.wQ/x2CCMbr.QAiLeO9NM2RL5vhH1pbW"], ["admin", true], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (5.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 175], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$U46FrIl.djg1aOKw17N1fuOanoE14J1t302X8TXIVi2qWQRX.shb2"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 176], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$y7.v4iE6JpAUp5QhOHQeeOCw/8CNg.Ga2X8H2ftiNPL2hVwwmKeSq"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 177], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 9ms (Views: 0.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 116], ["locale", "en"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC], ["title", "A property for "]]
[1m[35m (11.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 117], ["locale", "en"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 116]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 116]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (6.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 117]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 117]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$r40u1Y4Bm9CIA9FuwwcDzOqqHi5zPKlPf557t5Id.YHr9nNaImkBS"], ["admin", true], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 178], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$/qAg5iwMH6/dJ6bw7/EqTe0JHLeU6YVdwkgvwA1t7Kjr51YClMOEO"], ["admin", true], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 179], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 16ms (Views: 7.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$weonpxavdCitS0ptEuOR/OPV2gLQeVY2pZU8JYywEf6GHpcRhhhJS"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 180], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$F2AeKOhovkjIlV5a63bJlujPo1AxiTYbG/7YhwVwkchknNI2GzOg."], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 181], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.6ms)
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 118], ["locale", "en"], ["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"118", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:05 UTC], ["updated_at", 2016-12-21 16:15:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 118], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 534ms (Views: 519.9ms | ActiveRecord: 2.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 119], ["locale", "en"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"119", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 119], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (11.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 119]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 57ms (Views: 30.1ms | ActiveRecord: 13.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 120], ["locale", "en"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"120", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 120], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 120]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 40ms (Views: 27.5ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 147], ["locale", "en"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Iq1XcjvHIZQWB2efAh/hDOg1Lor9nR/BAdbqAyIOcvp0zCZJ4y72W"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:15:06 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:15:06 UTC], ["last_sign_in_at", 2016-12-21 16:15:06 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:15:06 UTC], ["id", 182]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.8ms)
Completed 500 Internal Server Error in 22ms (ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (1.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 113ms (Views: 98.8ms | ActiveRecord: 1.7ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 44ms (Views: 28.3ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$FRjwC0AoxGDY3xrJtVppGeI87iMek6LZSACDcACQmxVj0UdfrpFwC"], ["admin", true], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:15:06 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:15:06 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:15:06 UTC], ["last_sign_in_at", 2016-12-21 16:15:06 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:15:06 UTC], ["id", 183]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 289]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 183]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 121], ["locale", "en"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 122], ["locale", "en"], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$AyHR.xLE95d.4KWgnWCHN.rI3n1KEUXF51eBo.1YGIOMJYz.l1ewm"], ["admin", true], ["created_at", 2016-12-21 16:15:06 UTC], ["updated_at", 2016-12-21 16:15:06 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/121" for 127.0.0.1 at 2016-12-21 17:15:06 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/121" for 127.0.0.1 at 2016-12-21 17:15:06 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:15:06 UTC], ["last_sign_in_at", 2016-12-21 16:15:06 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:15:06 UTC], ["id", 184]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"121"}
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 121], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 121]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 121]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 121]]
Completed 200 OK in 39ms (Views: 2.2ms | ActiveRecord: 4.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 122]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 122]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 121]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 121]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 184]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:22:59 UTC], ["updated_at", 2016-12-21 16:22:59 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.6ms)
Completed 200 OK in 754ms (Views: 660.3ms | ActiveRecord: 13.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (8.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 84ms (Views: 33.9ms | ActiveRecord: 2.0ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (7.1ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 123], ["locale", "en"], ["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC], ["title", "A property for "]]
[1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"123", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:00 UTC], ["updated_at", 2016-12-21 16:23:00 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 123], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 123]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 52ms (Views: 33.5ms | ActiveRecord: 2.1ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 124], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"124", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 124], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (1.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.0ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 46ms (Views: 35.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 125], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"125", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 125], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 125]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 49ms (Views: 33.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 126], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 127], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.1ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$DoOGHlt83VcGBo.VhHKUIORWhHutMfhjTuEywdOBkt8aELiC0Fo/2"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/126" for 127.0.0.1 at 2016-12-21 17:23:01 +0100
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/126" for 127.0.0.1 at 2016-12-21 17:23:01 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:23:01 UTC], ["last_sign_in_at", 2016-12-21 16:23:01 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:23:01 UTC], ["id", 185]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"126"}
[1m[36mPwb::Prop Load (1.2ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 126], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 126]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 126]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 126]]
Completed 200 OK in 31ms (Views: 1.7ms | ActiveRecord: 4.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 127]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 127]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 126]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 126]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 185]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 128], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 129], ["locale", "en"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 128]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 128]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 129]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 129]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Hl5RYpMDPeM9iGuoY53X9uHqSOcLKzGsjlfYutnSnUAzpz6k.7zF6"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 186], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$f0ZbAKke/HCRZtX91xbNeONGwT/geZRsN2mbiwqrjHznq88MEVQgy"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 187], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 21ms (Views: 9.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$3M6X16KmYhu.QlMoZHQQMOozHHlzxKNHZTevmhiT9eBp2OiGOahYm"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 188], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Io41mNjSl0sT6YQknf0p6.TVmIfX9gwn05T.C2AdSObWePKhjosrq"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 189], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.4ms)
Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$J3Pj43mZ9RMJ7Ghcp/NQzuHKlmHOrTke6JqscUiD/qTgdM4vGudWy"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:23:01 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:23:01 UTC], ["last_sign_in_at", 2016-12-21 16:23:01 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:23:01 UTC], ["id", 190]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (6.0ms)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$DeLHm5K4SOoKT37Ez7k0ruigAqBbEDttuqKlBROM0QVELhqTuTLrC"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 191], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$WQRwZjs9Xswox69EQX09Uugg0FyUDOSXhKBkqd0Opn1qJHPyT8rii"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 192], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 7ms (Views: 0.2ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$OwvZkAfUkHUO/eCEu02Tye8tkFeVpRA.k7EnnmfEgbDydJlF1nOTC"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 193], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$qkM8ViiUZEf/enuSdLk7DON7w2IxRK5VI.Nn6lXKa2/b7NsoVfaea"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 194], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$beyn1kK0ZboQFTKIiwtdvOED/W5YSL83.h2GPQku3P7I7K3fnPl7K"], ["admin", true], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:23:01 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:23:01 UTC], ["last_sign_in_at", 2016-12-21 16:23:01 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:23:01 UTC], ["id", 195]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:23:01 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 300]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 195]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:01 UTC], ["updated_at", 2016-12-21 16:23:01 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 160], ["locale", "en"], ["created_at", 2016-12-21 16:23:02 UTC], ["updated_at", 2016-12-21 16:23:02 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:27:05 UTC], ["updated_at", 2016-12-21 16:27:05 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (1.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:05 UTC], ["updated_at", 2016-12-21 16:27:05 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 621ms (Views: 537.2ms | ActiveRecord: 11.2ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 39ms (Views: 29.0ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$O/H6ZdmSL5j2t7EuwYd3seoFqjYYcqzyWTf11pyW3Uz1bGM0nOTZm"], ["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:27:06 +0100
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:27:06 UTC], ["last_sign_in_at", 2016-12-21 16:27:06 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:27:06 UTC], ["id", 196]]
[1m[35m (4.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (12.7ms)
Completed 500 Internal Server Error in 33ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$oJCaQ8PmyoIHM1.ajYAmjeOa3U0yexsFSgGfAtqhdWi7lzGEb4Ec6"], ["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 197], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$4QoyLj4WdUmt1FChEk7kIemmdqYNVGA3XLvIMoCqyZF8nmoL65jPy"], ["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 198], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 19ms (Views: 0.2ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$j92gi3s/m0kYKqO/cMVn9uCymjoI4WR4W/Dl1FYjztDtPu1rRKhhO"], ["admin", true], ["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 199], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$XUUo35PAYqSqzwLZFOxjWOosN3KU1/wf0445lhtpmd2r2f5xgNPrK"], ["admin", true], ["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:06 UTC], ["updated_at", 2016-12-21 16:27:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 200], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 24ms (Views: 2.3ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 163], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 163]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 164], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 164]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 165]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 166]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (6.3ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 162]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_about_us.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (124.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 168], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 168]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 169], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 169]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 170]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 171]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (5.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (18.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (1.2ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 130], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["title", "A property for "]]
[1m[35m (2.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 131], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 130]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 130]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 131]]
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 131]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.8ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 172], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$TAOjGbKFW46mhjA9XSVs2.RPh/urjmC.8Rhe2NCOtjMC2Td4brlcm"], ["admin", true], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 201], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$R2uIdAKCQ2l7w78bR4DnDeCKDoRshnXb2G/z0HS1ngW83s7G3gDsu"], ["admin", true], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 202], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 27ms (Views: 17.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$Ifb/ymOhZKTzIhs.I6cqNem775blIJeU6pu57lqv7343PMR90qICO"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 203], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$5oI0DyMCPheHc.vjurHLVeFvJfKcz2NwoR9CEeSVSnDttgn7RDlVS"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 204], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (1.2ms)
Completed 200 OK in 45ms (Views: 42.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 132], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"132", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 132], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 132]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 91ms (Views: 78.3ms | ActiveRecord: 2.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 133], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"133", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.8ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 133], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 43ms (Views: 35.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 134], ["locale", "en"], ["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"134", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:27:07 UTC], ["updated_at", 2016-12-21 16:27:07 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 134], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 134]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.2ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.0ms)
Completed 200 OK in 41ms (Views: 30.7ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (3.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (4.8ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb (93.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (6.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$TQrE2KQNtIpBLuvPQTvS4eWmhRP4ZL2rdO/2Dt3x04SsF2MGTOZVq"], ["admin", true], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:27:08 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:27:08 UTC], ["last_sign_in_at", 2016-12-21 16:27:08 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:27:08 UTC], ["id", 205]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:27:08 +0100
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 311]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 205]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 135], ["locale", "en"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 136], ["locale", "en"], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Rhp7O34IjwIc6Ip4LcbLQOiSjkeBnONkFrBHnafLVPsPcslXzE8/G"], ["admin", true], ["created_at", 2016-12-21 16:27:08 UTC], ["updated_at", 2016-12-21 16:27:08 UTC]]
[1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/135" for 127.0.0.1 at 2016-12-21 17:27:08 +0100
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:27:08 UTC], ["last_sign_in_at", 2016-12-21 16:27:08 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:27:08 UTC], ["id", 206]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"135"}
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 135], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.3ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 135]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 135]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 135]]
Completed 200 OK in 28ms (Views: 1.8ms | ActiveRecord: 4.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/135" for 127.0.0.1 at 2016-12-21 17:27:08 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 136]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 136]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 135]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 135]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 206]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (21.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:27:58 UTC], ["updated_at", 2016-12-21 16:27:58 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/_contact_us_form.html.erb (24.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb (92.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35mSQL (3.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 137], ["locale", "en"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"137", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 137], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 137]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 659ms (Views: 599.3ms | ActiveRecord: 7.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 138], ["locale", "en"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"138", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 138], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 51ms (Views: 41.1ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 139], ["locale", "en"], ["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"139", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:08 UTC], ["updated_at", 2016-12-21 16:28:08 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 139], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 139]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 39ms (Views: 28.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (19.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$blFndANrkGeFhqG7eDG4teunmeqMwfP0WE6OFit9dZQtx45a7mX1i"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 207], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$E5nzaDBBw1WCnMIJy5DdGOYhg6KY4a/lFEUrGI7uHV6kQivvM37X."], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 208], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 10ms (Views: 0.2ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$vcxj.lptmSjNzi4Khq.GGeDK2YhrobtV95b9sUq1pU2ldNM5S0mzC"], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (1.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 209], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$u16kaee8mJTwGC2uZZ7A9eyZRIUXU9vjXji8NhG1G1d8jRNjptWE."], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 210], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 1.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/_contact_us_form.html.erb (25.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb (46.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 140], ["locale", "en"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC], ["title", "A property for "]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 141], ["locale", "en"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC], ["title", "A property for "]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$mSNk.HM9nbr2xQWmrwV.Lu4NTS9JEiwXSVJJA7Uh/FKRGRoNVjo6O"], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/140" for 127.0.0.1 at 2016-12-21 17:28:09 +0100
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:28:09 UTC], ["last_sign_in_at", 2016-12-21 16:28:09 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:28:09 UTC], ["id", 211]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"140"}
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 140], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 140]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 140]]
[1m[36mPwb::PropPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 140]]
Completed 200 OK in 45ms (Views: 3.6ms | ActiveRecord: 5.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/140" for 127.0.0.1 at 2016-12-21 17:28:09 +0100
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 141]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 141]]
[1m[35m (5.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 140]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 140]]
[1m[35m (7.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 211]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Axg5rVTXCBgB.XdgYdZGmuGJUyYmq5r62ZSh4soiziViNj8swUwD."], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:28:09 +0100
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 17:28:09 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:28:09 UTC], ["last_sign_in_at", 2016-12-21 16:28:09 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:28:09 UTC], ["id", 212]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 319]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 212]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (5.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (6.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb (156.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.3ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.3ms)
Completed 200 OK in 80ms (Views: 66.6ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 38ms (Views: 28.7ms | ActiveRecord: 1.8ms)
[1m[36mPwb::Content Load (0.4ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$Rs19uaKdClWS5AY.sMeFveTNLbywbvMkraiv5UbckqvHOZhbs6uX6"], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 213], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$qStZyHMLftsj69dPtaag1emvHHm8hE9yAtZJhENQEwNYof8riSVGi"], ["admin", true], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 214], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.6ms)
Completed 200 OK in 20ms (Views: 9.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$4q9g.EJamc6zjA/m0S9ENutXUVKXJv0Jo7L8kN7T1K.XcuGwoaBpq"], ["created_at", 2016-12-21 16:28:09 UTC], ["updated_at", 2016-12-21 16:28:09 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 215], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$clCVODG3nvXP678t.NCNYezwFhuwXnauqxUFWnpZFnGeeVFhXad8W"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 216], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.4ms)
Completed 200 OK in 18ms (Views: 16.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 142], ["locale", "en"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC], ["title", "A property for "]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 143], ["locale", "en"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 142]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 142]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 143]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 143]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 174], ["locale", "en"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$l96UnNSwD/zpYfnrczJNgO0T3vQpgQEvLn8mN3kqqOhIlU0pOW4C2"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:28:10 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:28:10 UTC], ["last_sign_in_at", 2016-12-21 16:28:10 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:28:10 UTC], ["id", 217]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (12.3ms)
Completed 500 Internal Server Error in 27ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 176], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 176]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 177], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 177]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 178]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 179]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (5.4ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 175]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_about_us.html.erb (4.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (62.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 181], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 181]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 182], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 182]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 183]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 184]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (3.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (11.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 16:28:10 UTC], ["updated_at", 2016-12-21 16:28:10 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (7.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$OO/QmZmA52jFK1qVQ5UV2uo6y1msSopiaRkIuNYo/sB7.uUNGrE3u"], ["created_at", 2016-12-21 16:30:51 UTC], ["updated_at", 2016-12-21 16:30:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 17:30:51 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 16:30:51 UTC], ["last_sign_in_at", 2016-12-21 16:30:51 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 16:30:51 UTC], ["id", 218]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (2.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (10.6ms)
Completed 500 Internal Server Error in 499ms (ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (6.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (10.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (19.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (3.8ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$eRcgC3Jv3WCk7gGLZw7sNukHUS9ScCev766JcBojWf/q.PPsb/JyC"], ["created_at", 2016-12-21 17:13:35 UTC], ["updated_at", 2016-12-21 17:13:35 UTC]]
[1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:13:35 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (5.9ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 17:13:35 UTC], ["last_sign_in_at", 2016-12-21 17:13:35 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 17:13:35 UTC], ["id", 219]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (3.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (24.5ms)
Completed 500 Internal Server Error in 774ms (ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.8ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:15:34 UTC], ["updated_at", 2016-12-21 17:15:34 UTC]]
[1m[35m (12.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Z10QVDCMiWnm./c.ozCMGehSgDHolzr6Dx7RBHQVsRi59rUt6fiwW"], ["admin", true], ["created_at", 2016-12-21 17:15:34 UTC], ["updated_at", 2016-12-21 17:15:34 UTC]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:15:35 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 17:15:35 UTC], ["last_sign_in_at", 2016-12-21 17:15:35 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 17:15:35 UTC], ["id", 220]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.5ms)
Completed 200 OK in 835ms (Views: 829.9ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:15:36 +0100
[1m[35m (6.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (18.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 144], ["locale", "en"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"144", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 144], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 144]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 622ms (Views: 568.3ms | ActiveRecord: 6.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 145], ["locale", "en"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC], ["title", "A property for "]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"145", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 145], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 145]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 38ms (Views: 30.0ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 146], ["locale", "en"], ["created_at", 2016-12-21 17:15:44 UTC], ["updated_at", 2016-12-21 17:15:44 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"146", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 146], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 45ms (Views: 40.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (2.3ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Content Load (2.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 40ms (Views: 27.8ms | ActiveRecord: 3.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 31ms (Views: 26.2ms | ActiveRecord: 0.7ms)
[1m[36mPwb::Content Load (0.2ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$zMJkkZtf5RI4M/Wkn88cUuWj2Cwo4goHUlKtXs5WecJD7Rz0HPVbi"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 221], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$IiWkObb0FxCbYoI.Z2yC/u9fHdKDlp1500z1q0amGR7TlLjpVUcdy"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 222], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.4ms)
Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$GWOE/FZGvc7GuOROo.ynqesk06h5diG3pWdj6H3srpjCpYJkifX6m"], ["admin", true], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 223], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$if37f3XvU4O5pVI/eLVg1ODH7.Clf0FCFiG/yEE5yUcM3OZR0VJCK"], ["admin", true], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 224], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 23ms (Views: 12.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$B0UO2yP6MRayxpfoKydVZ.m1efp/xl7haIyWGPgiCPeuYHDEKg9uS"], ["admin", true], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 225], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$MXPtl0S5QyVM8ni0DTYe.e5IhC.HEYct1h7OZa3TfPUf68adN0uWG"], ["admin", true], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (11.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$ZJxOeiuHLaANbQC6EtHQQ.B3vARiwe9ZDP8eAGcn4aaU0FDziIzrO"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 227], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$EUAJQLEzN9OjWfpInd6Z5OgYKoC0mDvvQPBYrS6tOwvxoLuo8dNde"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 228], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.6ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 187], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (2.9ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 187]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 188], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 188]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 189]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 190]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (6.8ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 186]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_about_us.html.erb (4.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (93.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 192], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 192]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 193], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 193]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 194]]
[1m[36mPwb::Content::Translation Load (1.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 195]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (6.0ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (17.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 196], ["locale", "en"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 147], ["locale", "en"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 148], ["locale", "en"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 148]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 148]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 147]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 147]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 149], ["locale", "en"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC], ["title", "A property for "]]
[1m[35m (5.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 150], ["locale", "en"], ["created_at", 2016-12-21 17:15:45 UTC], ["updated_at", 2016-12-21 17:15:45 UTC], ["title", "A property for "]]
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 149]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 149]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 150]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 150]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (3.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mPwb::User Load (2.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.7ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 220]]
[1m[35m (23.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mPwb::User Load (0.8ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 324]]
[1m[35m (18.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:47:02 UTC], ["updated_at", 2016-12-21 17:47:02 UTC]]
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$Sa9XxHWLAZ/KzfWJ80eMqeaqKce1gPiCNsOFx8AVazpmmEtPFgpkG"], ["admin", true], ["created_at", 2016-12-21 17:47:02 UTC], ["updated_at", 2016-12-21 17:47:02 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:47:02 +0100
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 17:47:02 UTC], ["last_sign_in_at", 2016-12-21 17:47:02 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 17:47:02 UTC], ["id", 229]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.5ms)
Completed 200 OK in 447ms (Views: 441.5ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:47:03 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Agency Load (0.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 325]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:47:53 UTC], ["updated_at", 2016-12-21 17:47:53 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Agency Load (6.8ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 325]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.5ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:48:55 UTC], ["updated_at", 2016-12-21 17:48:55 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.models.pwb/user') OR "key" LIKE 'activerecord.models.pwb/user.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.attributes.email.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.models.pwb/user.taken') OR "key" LIKE 'activerecord.errors.models.pwb/user.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.errors.messages.taken') OR "key" LIKE 'activerecord.errors.messages.taken.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('errors.attributes.email.taken') OR "key" LIKE 'errors.attributes.email.taken.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mPwb::Agency Load (0.9ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 325]]
[1m[35m (13.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_users"[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users"[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 229]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:50:34 UTC], ["updated_at", 2016-12-21 17:50:34 UTC]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$0XdkPny.JqvyUEmY/r3bQu47JkS.z39K0Bi.GukconKTTjSyFSam2"], ["admin", true], ["created_at", 2016-12-21 17:50:34 UTC], ["updated_at", 2016-12-21 17:50:34 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:34 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 17:50:34 UTC], ["last_sign_in_at", 2016-12-21 17:50:34 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 17:50:34 UTC], ["id", 230]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.9ms)
Completed 200 OK in 483ms (Views: 478.3ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:35 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 328]]
[1m[35m (9.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 230]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 17:50:48 UTC], ["updated_at", 2016-12-21 17:50:48 UTC]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (6.9ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$6Xm2GgqitMi/yMGCrHzps.fZRopvThYBigd5Smmdcq.jcHqrBt6z."], ["admin", true], ["created_at", 2016-12-21 17:50:48 UTC], ["updated_at", 2016-12-21 17:50:48 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:49 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 17:50:49 UTC], ["last_sign_in_at", 2016-12-21 17:50:49 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 17:50:49 UTC], ["id", 231]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (2.5ms)
Completed 200 OK in 566ms (Views: 561.0ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-21 18:50:49 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 329]]
[1m[35m (8.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 231]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 18:00:30 UTC], ["updated_at", 2016-12-21 18:00:30 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 18:07:20 UTC], ["updated_at", 2016-12-21 18:07:20 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 18:08:03 UTC], ["updated_at", 2016-12-21 18:08:03 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 18:10:51 UTC], ["updated_at", 2016-12-21 18:10:51 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (6.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 18:12:03 UTC], ["updated_at", 2016-12-21 18:12:03 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (12.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (12.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (25.9ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (2.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/_contact_us_form.html.erb (28.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb (55.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (13.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$4/sogigTnHTAK1Zs1SH7OuFsen9SRteLmoE6IHT3r5GA7kzCiYAyG"], ["admin", true], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 20:28:56 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.6ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 19:28:56 UTC], ["last_sign_in_at", 2016-12-21 19:28:56 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 19:28:56 UTC], ["id", 232]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.7ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-21 20:28:56 +0100
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 336]]
[1m[35m (6.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 232]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$3gkaDwWB0ljirRJOnnqLxe4C6GiB2kBeoIu2gVsQVtAd9A2HfDezq"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.6ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 233], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$sjqVe/AN6wYVtGqpES0bYeLt9W321V2a8tT9B5AQg/xGZagq2b3IK"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 234], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.4ms)
Completed 200 OK in 18ms (Views: 15.7ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$e1STDTl3iwX72TauwR4GKuqinoOOdbMHbVAYIoucUurXHVtcRU6ly"], ["admin", true], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 235], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$rZmINSRfRWOBZU0bsv6cH.PR2Pj4Mqm/WGNxlVLggbsYBKJg3lw8O"], ["admin", true], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 236], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.5ms)
Completed 200 OK in 30ms (Views: 14.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (8.9ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (6.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35mSQL (7.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 151], ["locale", "en"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC], ["title", "A property for "]]
[1m[35m (5.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 152], ["locale", "en"], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$gxUzEpMPuLvGrBkBV4Yj0eQUKO/8XuUkJLgH7AkuJqS3Wkomw.rcm"], ["admin", true], ["created_at", 2016-12-21 19:28:56 UTC], ["updated_at", 2016-12-21 19:28:56 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/151" for 127.0.0.1 at 2016-12-21 20:28:56 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/151" for 127.0.0.1 at 2016-12-21 20:28:56 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 19:28:56 UTC], ["last_sign_in_at", 2016-12-21 19:28:56 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 19:28:56 UTC], ["id", 237]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"151"}
[1m[36mPwb::Prop Load (0.9ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 151], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (0.6ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 151]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 151]]
[1m[36mPwb::PropPhoto Load (0.7ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 151]]
Completed 200 OK in 40ms (Views: 2.2ms | ActiveRecord: 4.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 152]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 152]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 151]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 151]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 237]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 153], ["locale", "en"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 154], ["locale", "en"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 153]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 153]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 154]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 154]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 197], ["locale", "en"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC], ["raw", "MyText"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (3.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 155], ["locale", "en"], ["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"155", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:28:57 UTC], ["updated_at", 2016-12-21 19:28:57 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 155], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.3ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.5ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 21854ms (Views: 21842.5ms | ActiveRecord: 2.8ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 156], ["locale", "en"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"156", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (1.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (1.0ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 156], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 156]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 58ms (Views: 39.0ms | ActiveRecord: 4.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 157], ["locale", "en"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"157", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 157], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 157]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 41ms (Views: 28.5ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$/cELnycXPAWyfGOEActnLeMSJBjX4RSiKk1hc9qRMw2x7Cf3xQQvq"], ["admin", true], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (11.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-21 20:29:19 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-21 19:29:19 UTC], ["last_sign_in_at", 2016-12-21 19:29:19 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-21 19:29:19 UTC], ["id", 238]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (1.5ms)
Completed 200 OK in 22ms (Views: 12.9ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-21 20:29:19 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 341]]
[1m[35m (10.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 238]]
[1m[35m (10.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.5ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.5ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.8ms)
Completed 200 OK in 115ms (Views: 104.6ms | ActiveRecord: 1.8ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (1.2ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 42ms (Views: 30.1ms | ActiveRecord: 2.2ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$v0E2138WIrX.2DA2LccxIOz1gexNu7O1rpgnNrB90tpu7v5lDGUsi"], ["admin", true], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 239], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (3.2ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$iW6B8GbhrLMsc0R7nJB8l.uztik3xGms.Di0DBlmYLbh7eVB7ShDi"], ["admin", true], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 240], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$CCNzwnp5f5HcVj.Z2D4os.fmKipymqpfkNlw64C3czaYJSx7O40ya"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 241], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$onnNTSEx2yjA75lrJdCF3O8mzf3QwOjox00soXvHRsJxSsibZjUHe"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 242], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 8ms (Views: 0.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (6.0ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (9.1ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (5.7ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb (110.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 200], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.5ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 200]]
[1m[36mPwb::ContentPhoto Load (0.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 201], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 201]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 202]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 203]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (5.1ms)
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 199]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_about_us.html.erb (5.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (64.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-21 19:29:19 UTC], ["updated_at", 2016-12-21 19:29:19 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 205], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 205]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 206], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 206]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 207]]
[1m[36mPwb::Content::Translation Load (0.4ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 208]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (7.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (17.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (6.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (28.0ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:41:14 UTC], ["updated_at", 2016-12-22 08:41:14 UTC]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:43:25 UTC], ["updated_at", 2016-12-22 08:43:25 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (7.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:53:06 UTC], ["updated_at", 2016-12-22 08:53:06 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:53:34 UTC], ["updated_at", 2016-12-22 08:53:34 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:54:04 UTC], ["updated_at", 2016-12-22 08:54:04 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-22 08:54:45 UTC], ["updated_at", 2016-12-22 08:54:45 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (19.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (237.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (356.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (22.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (48.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (28.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (24.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (30.1ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (16.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (39.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (27.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-22 08:59:30 UTC], ["updated_at", 2016-12-22 08:59:30 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (11.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (28.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::InternalMetadata Load (6.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (4.1ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.0ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (3.7ms)[0m [1m[34mSELECT 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 = 'pwb_features'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.7ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'pwb_users'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.0ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (249.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (392.6ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (4.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (44.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (42.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (9.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (4.9ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (23.2ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (11.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (8.8ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-22 10:22:59 UTC], ["updated_at", 2016-12-22 10:22:59 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (13.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (23.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (348.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (1575.3ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (1.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.3ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (8.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (17.8ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (17.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (17.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:22:02 UTC], ["updated_at", 2016-12-23 01:22:02 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (136.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (350.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (9.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (28.2ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (26.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (17.8ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (24.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (41.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (11.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (39.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (44.3ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (22.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (50.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:24:03 UTC], ["updated_at", 2016-12-23 01:24:03 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (162.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (566.2ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (29.5ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (29.1ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (12.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (26.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (39.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (21.7ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (26.7ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (53.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (28.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (17.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (40.9ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (13.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (17.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (12.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (12.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (17.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (39.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (12.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (44.1ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (44.6ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (22.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (57.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (44.6ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (33.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (17.6ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 01:51:16 UTC], ["updated_at", 2016-12-23 01:51:16 UTC]]
[1m[35m (2.7ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (7.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (160.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (397.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (2.8ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (13.9ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (30.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 20:32:08 UTC], ["updated_at", 2016-12-23 20:32:08 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (134.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (632.9ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (23.6ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (27.7ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (39.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (26.6ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (18.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (44.2ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (56.8ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (15.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (23.2ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (26.0ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (41.9ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (11.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (28.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (39.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (11.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (13.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (12.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (39.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (17.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (29.0ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (39.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (21.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (84.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (5.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 20:33:58 UTC], ["updated_at", 2016-12-23 20:33:58 UTC]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (164.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (463.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (16.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (26.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 21:12:15 UTC], ["updated_at", 2016-12-23 21:12:15 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (165.7ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (358.1ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.3ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (18.8ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (3.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (26.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 21:46:57 UTC], ["updated_at", 2016-12-23 21:46:57 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (313.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (408.0ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (9.3ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (21.8ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (49.2ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (35.7ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (28.4ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (10.2ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (29.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (12.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (18.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (18.2ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (47.1ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (19.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (33.9ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (40.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (12.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 22:10:29 UTC], ["updated_at", 2016-12-23 22:10:29 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (1.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (144.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (458.7ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (17.4ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (22.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" USING btree ("company_id")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" USING btree ("company_name")[0m
[1m[35m (7.4ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (12.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" USING btree ("documentation_id")[0m
[1m[35m (2.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" USING btree ("email")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" USING btree ("first_names", "last_names")[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" USING btree ("content_id")[0m
[1m[35m (5.4ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "raw" text)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" USING btree ("locale")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" USING btree ("pwb_content_id")[0m
[1m[35m (6.5ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" USING btree ("key")[0m
[1m[35m (30.2ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" USING btree ("feature_key")[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" USING btree ("global_key")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.2ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" USING btree ("prop_id")[0m
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "title" character varying DEFAULT '', "description" text DEFAULT '')[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" USING btree ("locale")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" USING btree ("pwb_prop_id")[0m
[1m[35m (13.0ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" USING btree ("archived")[0m
[1m[35m (2.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" USING btree ("flags")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" USING btree ("for_rent_long_term")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" USING btree ("for_rent_short_term")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" USING btree ("for_sale")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" USING btree ("highlighted")[0m
[1m[35m (7.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" USING btree ("latitude", "longitude")[0m
[1m[35m (13.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" USING btree ("price_rental_monthly_current_cents")[0m
[1m[35m (2.5ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" USING btree ("price_sale_current_cents")[0m
[1m[35m (23.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" USING btree ("reference")[0m
[1m[35m (1.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" USING btree ("visible")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.6ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" USING btree ("link_key")[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" USING btree ("confirmation_token")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" USING btree ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" USING btree ("reset_password_token")[0m
[1m[35m (31.7ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (13.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20161205223003')[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-23 22:12:36 UTC], ["updated_at", 2016-12-23 22:12:36 UTC]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (12.6ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (30.1ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
[1m[35m (144.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "pwb_dummy_test"[0m
[1m[35m (365.8ms)[0m [1m[35mCREATE DATABASE "pwb_dummy_test" ENCODING = 'unicode'[0m
[1m[35m (55.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
[1m[35m (25.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT pg_try_advisory_lock(4396650945632054235);[0m
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePwbContents (20161107210046)
[1m[35m (12.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (31.0ms)[0m [1m[35mCREATE TABLE "pwb_contents" ("id" serial primary key, "key" character varying, "tag" character varying, "input_type" character varying, "status" character varying, "last_updated_by_user_id" integer, "sort_order" integer, "target_url" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_contents_on_key" ON "pwb_contents" ("key")[0m
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161107210046"]]
[1m[35m (6.7ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateContents (20161108132035)
[1m[35m (15.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE TABLE "pwb_content_translations" ("id" serial primary key, "pwb_content_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pwb_content_translations" ADD "raw" text[0m
[1m[36mPwb::Content Load (2.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" ORDER BY "pwb_contents"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (7.2ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_pwb_content_id" ON "pwb_content_translations" ("pwb_content_id")[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE INDEX "index_pwb_content_translations_on_locale" ON "pwb_content_translations" ("locale")[0m
[1m[35mSQL (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161108132035"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbContentPhotos (20161116185442)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.5ms)[0m [1m[35mCREATE TABLE "pwb_content_photos" ("id" serial primary key, "content_id" integer, "image" character varying, "description" character varying, "folder" character varying, "file_size" integer, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE INDEX "index_pwb_content_photos_on_content_id" ON "pwb_content_photos" ("content_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161116185442"]]
[1m[35m (11.2ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAgencies (20161118222543)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (35.6ms)[0m [1m[35mCREATE TABLE "pwb_agencies" ("id" serial primary key, "phone_number_primary" character varying, "phone_number_mobile" character varying, "phone_number_other" character varying, "analytics_id" character varying, "analytics_id_type" integer, "company_name" character varying, "display_name" character varying, "email_primary" character varying, "email_for_general_contact_form" character varying, "email_for_property_contact_form" character varying, "skype" character varying, "company_id" character varying, "company_id_type" integer, "url" character varying, "primary_address_id" integer, "secondary_address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "payment_plan_id" integer, "site_template_id" integer, "site_configuration" json DEFAULT '{}', "available_locales" text[] DEFAULT '{}', "supported_locales" text[] DEFAULT '{}', "available_currencies" text[] DEFAULT '{}', "supported_currencies" text[] DEFAULT '{}', "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "social_media" json DEFAULT '{}', "details" json DEFAULT '{}', "raw_css" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_agencies_on_company_name" ON "pwb_agencies" ("company_name")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_agencies_on_company_id" ON "pwb_agencies" ("company_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161118222543"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbProps (20161120103546)
[1m[35m (6.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (23.5ms)[0m [1m[35mCREATE TABLE "pwb_props" ("id" serial primary key, "reference" character varying, "year_construction" integer DEFAULT 0 NOT NULL, "count_bedrooms" integer DEFAULT 0 NOT NULL, "count_bathrooms" integer DEFAULT 0 NOT NULL, "count_toilets" integer DEFAULT 0 NOT NULL, "count_garages" integer DEFAULT 0 NOT NULL, "plot_area" float DEFAULT 0.0 NOT NULL, "constructed_area" float DEFAULT 0.0 NOT NULL, "energy_rating" integer, "energy_performance" float, "flags" integer DEFAULT 0 NOT NULL, "furnished" boolean DEFAULT 'f', "sold" boolean DEFAULT 'f', "reserved" boolean DEFAULT 'f', "highlighted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "visible" boolean DEFAULT 'f', "for_rent_short_term" boolean DEFAULT 'f', "for_rent_long_term" boolean DEFAULT 'f', "for_sale" boolean DEFAULT 'f', "hide_map" boolean DEFAULT 'f', "obscure_map" boolean DEFAULT 'f', "portals_enabled" boolean DEFAULT 'f', "deleted_at" timestamp, "active_from" timestamp, "available_to_rent_from" timestamp, "available_to_rent_till" timestamp, "price_sale_current_cents" integer DEFAULT 0 NOT NULL, "price_sale_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_sale_original_cents" integer DEFAULT 0 NOT NULL, "price_sale_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_current_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_current_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_original_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_original_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_low_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_low_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_high_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_high_season_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_standard_season_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_standard_season_currency" character varying DEFAULT 'EUR' NOT NULL, "commission_cents" integer DEFAULT 0 NOT NULL, "commission_currency" character varying DEFAULT 'EUR' NOT NULL, "service_charge_yearly_cents" integer DEFAULT 0 NOT NULL, "service_charge_yearly_currency" character varying DEFAULT 'EUR' NOT NULL, "price_rental_monthly_for_search_cents" integer DEFAULT 0 NOT NULL, "price_rental_monthly_for_search_currency" character varying DEFAULT 'EUR' NOT NULL, "currency" character varying, "prop_origin_key" character varying DEFAULT '' NOT NULL, "prop_state_key" character varying DEFAULT '' NOT NULL, "prop_type_key" character varying DEFAULT '' NOT NULL, "street_number" character varying, "street_name" character varying, "street_address" character varying, "postal_code" character varying, "province" character varying, "city" character varying, "region" character varying, "country" character varying, "latitude" float, "longitude" float, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_visible" ON "pwb_props" ("visible")[0m
[1m[35m (2.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_flags" ON "pwb_props" ("flags")[0m
[1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_short_term" ON "pwb_props" ("for_rent_short_term")[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_rent_long_term" ON "pwb_props" ("for_rent_long_term")[0m
[1m[35m (12.7ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_for_sale" ON "pwb_props" ("for_sale")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_highlighted" ON "pwb_props" ("highlighted")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_archived" ON "pwb_props" ("archived")[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_props_on_reference" ON "pwb_props" ("reference")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_rental_monthly_current_cents" ON "pwb_props" ("price_rental_monthly_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_price_sale_current_cents" ON "pwb_props" ("price_sale_current_cents")[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pwb_props_on_latitude_and_longitude" ON "pwb_props" ("latitude", "longitude")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120103546"]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
Migrating to TranslateProps (20161120122914)
[1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_translations" ("id" serial primary key, "pwb_prop_id" integer NOT NULL, "locale" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (10.3ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "title" character varying DEFAULT ''[0m
[1m[35m (10.5ms)[0m [1m[35mALTER TABLE "pwb_prop_translations" ADD "description" text DEFAULT ''[0m
[1m[36mPwb::Prop Load (1.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" ORDER BY "pwb_props"."id" ASC LIMIT $1[0m [["LIMIT", 1000]]
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_pwb_prop_id" ON "pwb_prop_translations" ("pwb_prop_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_translations_on_locale" ON "pwb_prop_translations" ("locale")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161120122914"]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbSections (20161122174847)
[1m[35m (15.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (15.8ms)[0m [1m[35mCREATE TABLE "pwb_sections" ("id" serial primary key, "link_key" character varying, "link_path" character varying, "sort_order" integer, "visible" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_sections_on_link_key" ON "pwb_sections" ("link_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161122174847"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbTranslations (20161123124639)
[1m[35m (6.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (31.1ms)[0m [1m[35mCREATE TABLE "translations" ("id" serial primary key, "locale" character varying, "key" character varying, "value" text, "interpolations" text, "is_proc" boolean DEFAULT 'f', "tag" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123124639"]]
[1m[35m (5.2ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFieldKeys (20161123232423)
[1m[35m (15.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (22.9ms)[0m [1m[35mCREATE TABLE "pwb_field_keys" ("id" serial primary key, "global_key" character varying, "tag" character varying, "visible" boolean DEFAULT 't', "props_count" integer DEFAULT 0 NOT NULL, "show_in_search_form" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_field_keys_on_global_key" ON "pwb_field_keys" ("global_key")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161123232423"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbPropPhotos (20161124103103)
[1m[35m (12.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (29.0ms)[0m [1m[35mCREATE TABLE "pwb_prop_photos" ("id" serial primary key, "prop_id" integer, "image" character varying, "description" character varying, "folder" character varying, "file_size" integer, "sort_order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE INDEX "index_pwb_prop_photos_on_prop_id" ON "pwb_prop_photos" ("prop_id")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124103103"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbAddresses (20161124214746)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (16.7ms)[0m [1m[35mCREATE TABLE "pwb_addresses" ("id" serial primary key, "longitude" float, "latitude" float, "street_number" character varying, "street_address" character varying, "postal_code" character varying, "city" character varying, "region" character varying, "country" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161124214746"]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbMessages (20161128200709)
[1m[35m (15.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "pwb_messages" ("id" serial primary key, "title" character varying, "content" text, "client_id" integer, "origin_ip" character varying, "user_agent" character varying, "longitude" float, "latitude" float, "locale" character varying, "host" character varying, "url" character varying, "delivery_success" boolean DEFAULT 'f', "delivery_email" character varying, "origin_email" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128200709"]]
[1m[35m (12.3ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbClients (20161128221919)
[1m[35m (5.9ms)[0m [1m[35mBEGIN[0m
[1m[35m (18.2ms)[0m [1m[35mCREATE TABLE "pwb_clients" ("id" serial primary key, "first_names" character varying, "last_names" character varying, "client_title" character varying, "phone_number_primary" character varying, "phone_number_other" character varying, "fax" character varying, "nationality" character varying, "email" character varying, "skype" character varying, "documentation_id" character varying, "documentation_type" integer, "user_id" integer, "address_id" integer, "flags" integer DEFAULT 0 NOT NULL, "details" json DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_documentation_id" ON "pwb_clients" ("documentation_id")[0m
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pwb_clients_on_first_names_and_last_names" ON "pwb_clients" ("first_names", "last_names")[0m
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_clients_on_email" ON "pwb_clients" ("email")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161128221919"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to CreatePwbFeatures (20161130141845)
[1m[35m (6.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (20.3ms)[0m [1m[35mCREATE TABLE "pwb_features" ("id" serial primary key, "feature_key" character varying, "prop_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pwb_features_on_feature_key" ON "pwb_features" ("feature_key")[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161130141845"]]
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
Migrating to DeviseCreatePwbUsers (20161205223003)
[1m[35m (12.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (27.2ms)[0m [1m[35mCREATE TABLE "pwb_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" character varying, "last_sign_in_ip" character varying, "confirmation_token" character varying, "confirmed_at" timestamp, "confirmation_sent_at" timestamp, "unconfirmed_email" character varying, "failed_attempts" integer DEFAULT 0 NOT NULL, "unlock_token" character varying, "locked_at" timestamp, "authentication_token" character varying, "admin" boolean DEFAULT 'f', "first_names" character varying, "last_names" character varying, "skype" character varying, "phone_number_primary" character varying, "default_client_locale" character varying, "default_admin_locale" character varying, "default_currency" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (5.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_email" ON "pwb_users" ("email")[0m
[1m[35m (1.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_reset_password_token" ON "pwb_users" ("reset_password_token")[0m
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pwb_users_on_confirmation_token" ON "pwb_users" ("confirmation_token")[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161205223003"]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
Migrating to AddThemeNameToPwbAgency (20161222085708)
[1m[35m (11.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pwb_agencies" ADD "theme_name" character varying[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20161222085708"]]
[1m[35m (5.6ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-12-24 09:40:51 UTC], ["updated_at", 2016-12-24 09:40:51 UTC]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(4396650945632054235)[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (6.0ms)[0m [1m[34mSELECT 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 = 'pwb_addresses'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.2ms)[0m [1m[34mSELECT 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 = 'pwb_agencies'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_clients'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (4.4ms)[0m [1m[34mSELECT 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 = 'pwb_content_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (4.2ms)[0m [1m[34mSELECT 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 = 'pwb_content_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.9ms)[0m [1m[34mSELECT 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 = 'pwb_contents'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.5ms)[0m [1m[34mSELECT 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 = 'pwb_features'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.4ms)[0m [1m[34mSELECT 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 = 'pwb_field_keys'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.1ms)[0m [1m[34mSELECT 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 = 'pwb_messages'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (5.6ms)[0m [1m[34mSELECT 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 = 'pwb_prop_photos'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (4.4ms)[0m [1m[34mSELECT 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 = 'pwb_prop_translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (6.1ms)[0m [1m[34mSELECT 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 = 'pwb_props'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT 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 = 'pwb_sections'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.9ms)[0m [1m[34mSELECT 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 = 'pwb_users'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[35m (1.8ms)[0m [1m[34mSELECT 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 = 'translations'
AND t3.nspname = ANY (current_schemas(false))
ORDER BY c.conname
[0m
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (8.5ms)[0m [1m[34mSELECT DISTINCT "translations"."locale" FROM "translations"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (11.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (31.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (3.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$85uMnFWrXq3KOhvCzhw6Puhe5F/oLr9BP2cT/KXUygDYoOC8WYn0i"], ["admin", true], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.7ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$iq.9WN5gxGS5dqfH7vlQy.tvZrT1N1tsFWvcXwEO.oihh2r9qUhCa"], ["admin", true], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (2.6ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 1.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$zdMQGXNYvBGUFovZbfi..uhHS5w5Hndz6q8YXXhjF33EJ4x/SLb2C"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$khhP80XUy6taI.IJKzxUQ.6uoPOHVnScUmJv5DdMSoPBAXWGLWYNC"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 11ms (Views: 0.3ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (1.9ms)[0m [1m[32mINSERT INTO "pwb_field_keys" ("global_key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "global_key"[0m [["global_key", "propertyStates.nuevo"], ["tag", "property-states"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "pwb_field_keys"."global_key" FROM "pwb_field_keys" WHERE "pwb_field_keys"."tag" = $1 AND "pwb_field_keys"."visible" = $2[0m [["tag", "property-states"], ["visible", true]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('propertyStates.nuevo') OR "key" LIKE 'propertyStates.nuevo.%')[0m [["locale", "en"]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (7.2ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "aboutUs"], ["link_path", "about_us_path"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_sections" ("link_key", "link_path", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["link_key", "contactUs"], ["link_path", "contact_us_path"], ["created_at", 2016-12-24 09:47:26 UTC], ["updated_at", 2016-12-24 09:47:26 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (7.2ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('copyright') OR "key" LIKE 'copyright.%')[0m [["locale", "en"]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (5.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/layouts/pwb/application.html.erb (14192.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35m (12.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$8gJCameZgHyfTV.OUG/zQeLX2FJ.mSxBvdjF9MH3wsGZ1VEmmEBLm"], ["admin", true], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/admin" for 127.0.0.1 at 2016-12-24 10:47:40 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (12.7ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-24 09:47:40 UTC], ["last_sign_in_at", 2016-12-24 09:47:40 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-24 09:47:40 UTC], ["id", 5]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.8ms)
Completed 200 OK in 23ms (Views: 17.9ms | ActiveRecord: 0.0ms)
Started GET "/admin" for 127.0.0.1 at 2016-12-24 10:47:40 +0100
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('activerecord.attributes.pwb/user.email') OR "key" LIKE 'activerecord.attributes.pwb/user.email.%')[0m [["locale", "en"]]
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('attributes.email') OR "key" LIKE 'attributes.email.%')[0m [["locale", "en"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "translations" WHERE "translations"."locale" = $1 AND ("key" IN ('devise.failure.user.unauthenticated') OR "key" LIKE 'devise.failure.user.unauthenticated.%')[0m [["locale", "en"]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 4]]
[1m[35m (9.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 5]]
[1m[35m (5.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (3.8ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref2bbed"], ["LIMIT", 1]]
[1m[35mSQL (25.8ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref2bbed"], ["count_bedrooms", 2], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 1], ["locale", "en"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref5bbed"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "count_bedrooms", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["reference", "ref5bbed"], ["count_bedrooms", 5], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 2], ["locale", "en"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Load (0.6ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE (count_bedrooms >= '3')[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 1]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 1]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 2]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 2]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pfltr"], ["LIMIT", 1]]
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["reference", "ref_pfltr"], ["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 3], ["locale", "en"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC], ["title", "A property for "]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::Prop Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE LOWER("pwb_props"."reference") = LOWER($1) LIMIT $2[0m [["reference", "ref_pf"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("reference", "visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["reference", "ref_pf"], ["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 4], ["locale", "en"], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC], ["title", "A property for "]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$jH9G6D04TkTiJ/7FKLeQNuN3qN7KWWBtPI3NIg2UDW9BwUG/o53bu"], ["admin", true], ["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/3" for 127.0.0.1 at 2016-12-24 10:47:40 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-24 09:47:40 UTC], ["last_sign_in_at", 2016-12-24 09:47:40 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-24 09:47:40 UTC], ["id", 6]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::PropertiesController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 ORDER BY "pwb_props"."id" ASC LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
[1m[36mPwb::Feature Load (7.4ms)[0m [1m[34mSELECT "pwb_features".* FROM "pwb_features" WHERE "pwb_features"."prop_id" = $1[0m [["prop_id", 3]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 3]]
[1m[36mPwb::PropPhoto Load (7.9ms)[0m [1m[34mSELECT "pwb_prop_photos".* FROM "pwb_prop_photos" WHERE "pwb_prop_photos"."prop_id" = $1 ORDER BY sort_order asc[0m [["prop_id", 3]]
Completed 200 OK in 48ms (Views: 2.1ms | ActiveRecord: 19.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/properties/3" for 127.0.0.1 at 2016-12-24 10:47:40 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 4]]
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 4]]
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."id" = $1[0m [["id", 3]]
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_props" WHERE "pwb_props"."id" = $1[0m [["id", 3]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.3ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 6]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:40 UTC], ["updated_at", 2016-12-24 09:47:40 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.0ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "tag", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["key", "MyString"], ["tag", "MyString"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35mSQL (3.4ms)[0m [1m[32mINSERT INTO "pwb_content_translations" ("pwb_content_id", "locale", "created_at", "updated_at", "raw") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_content_id", 1], ["locale", "en"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC], ["raw", "MyText"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (13.5ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 3], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 3]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 4], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 4]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 5]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 6]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (4.5ms)
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 2]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_about_us.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (74.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("key", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["key", "aboutUs"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_contents" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 8], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 8]]
[1m[36mPwb::ContentPhoto Load (0.3ms)[0m [1m[34mSELECT "pwb_content_photos".* FROM "pwb_content_photos" WHERE "pwb_content_photos"."content_id" = $1 ORDER BY "pwb_content_photos"."id" ASC LIMIT $2[0m [["content_id", 9], ["LIMIT", 1]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 9]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 10]]
[1m[36mPwb::Content::Translation Load (0.2ms)[0m [1m[34mSELECT "pwb_content_translations".* FROM "pwb_content_translations" WHERE "pwb_content_translations"."pwb_content_id" = $1[0m [["pwb_content_id", 11]]
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/_content_area_cols.html.erb (3.6ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (12.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "test"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/_contact_us_form.html.erb (18.9ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/sections/contact_us.html.erb (38.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$e/oeF9X5/CgdATTG.xLioeHbsmIBq8b6CZY49K0u/ADDf8y2gaaVW"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.4ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$QshA1FfxRIeLs7vUyEBVyesjYmepF3BMPpRS3EaVdSpDEKGpcg4Ea"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/errors/admin_required.html.erb within layouts/pwb/devise (0.4ms)
Completed 200 OK in 24ms (Views: 21.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$AdKvs8ZFuhi4/biMcxfPNeNdev1LGW33cinDzp5xlL.SRAPpEJXSe"], ["admin", true], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.3ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$ZDB5t0Dh8CvfZKVE5mnTleYca7UehRcfDPLfJ5yZ.SB.LCDK2Y7NK"], ["admin", true], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::AdminPanelController#show as HTML
[1m[36mPwb::User Load (0.2ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/admin_panel/show.html.erb within layouts/pwb/admin_panel (0.4ms)
Completed 200 OK in 17ms (Views: 8.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("company_name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["company_name", "my re"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "user@example.org"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "user@example.org"], ["encrypted_password", "$2a$04$XiIPKTm7UEuk4xtYUHo3teT/O6ICCyEBfUgVLYVHzAM/JTav6lu9."], ["admin", true], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-24 10:47:41 +0100
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pwb_users" SET "sign_in_count" = $1, "current_sign_in_at" = $2, "last_sign_in_at" = $3, "current_sign_in_ip" = $4, "last_sign_in_ip" = $5, "updated_at" = $6 WHERE "pwb_users"."id" = $7[0m [["sign_in_count", 1], ["current_sign_in_at", 2016-12-24 09:47:41 UTC], ["last_sign_in_at", 2016-12-24 09:47:41 UTC], ["current_sign_in_ip", "127.0.0.1"], ["last_sign_in_ip", "127.0.0.1"], ["updated_at", 2016-12-24 09:47:41 UTC], ["id", 11]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET "/api/v1/agency" for 127.0.0.1 at 2016-12-24 10:47:41 +0100
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (3.5ms)[0m [1m[31mDELETE FROM "pwb_agencies" WHERE "pwb_agencies"."id" = $1[0m [["id", 7]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35mSQL (0.4ms)[0m [1m[31mDELETE FROM "pwb_users" WHERE "pwb_users"."id" = $1[0m [["id", 11]]
[1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.4ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.4ms)
Completed 200 OK in 91ms (Views: 78.0ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pwb_contents" ("tag", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["tag", "landing-carousel"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::WelcomeController#index as HTML
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."key" = $1 LIMIT $2[0m [["key", "aboutUs"], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/welcome/index.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 45ms (Views: 34.4ms | ActiveRecord: 2.1ms)
[1m[36mPwb::Content Load (0.3ms)[0m [1m[34mSELECT "pwb_contents".* FROM "pwb_contents" WHERE "pwb_contents"."tag" = $1[0m [["tag", "landing-carousel"]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35mSQL (2.4ms)[0m [1m[32mINSERT INTO "pwb_content_photos" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 5], ["locale", "en"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"5", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.5ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/props/not_found.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 50ms (Views: 37.7ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_sale", "price_sale_current_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["visible", true], ["for_sale", true], ["price_sale_current_cents", 10000000], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 6], ["locale", "en"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_sale as HTML
Parameters: {"id"=>"6", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.7ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 6]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 42ms (Views: 27.9ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::Prop Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_props" WHERE "pwb_props"."reference" IS NULL LIMIT $1[0m [["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_props" ("visible", "for_rent_long_term", "price_rental_monthly_current_cents", "price_rental_monthly_for_search_cents", "currency", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["visible", true], ["for_rent_long_term", true], ["price_rental_monthly_current_cents", 100000], ["price_rental_monthly_for_search_cents", 100000], ["currency", "EUR"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pwb_prop_translations" ("pwb_prop_id", "locale", "created_at", "updated_at", "title") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["pwb_prop_id", 7], ["locale", "en"], ["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC], ["title", "A property for "]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::PropsController#show_for_rent as HTML
Parameters: {"id"=>"7", "url_friendly_title"=>"tt"}
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 09:47:41 UTC], ["updated_at", 2016-12-24 09:47:41 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.2ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Prop Load (0.4ms)[0m [1m[34mSELECT "pwb_props".* FROM "pwb_props" WHERE "pwb_props"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
[1m[36mPwb::Prop::Translation Load (0.3ms)[0m [1m[34mSELECT "pwb_prop_translations".* FROM "pwb_prop_translations" WHERE "pwb_prop_translations"."pwb_prop_id" = $1[0m [["pwb_prop_id", 7]]
Rendering /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/themes/default/views/pwb/props/show.html.erb (0.4ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_header.html.erb (0.1ms)
Rendered /Users/etewiah/Ed/sites-2016-oct-pwb/pwb/app/views/pwb/_footer.html.erb (0.1ms)
Rendered /Users/etewiah/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/paloma-5.0.0/app/views/paloma/_hook.html.erb (0.1ms)
Completed 200 OK in 41ms (Views: 28.1ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[36mActiveRecord::SchemaMigration Load (18.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (5.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (24.1ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (12.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$xcOohvUtnHJZOr2qN6bPnOQN66gI6LOrhsLo6b88kFif4ckDqzCXy"], ["admin", true], ["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "admin", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["email", "admin@pwb.com"], ["encrypted_password", "$2a$04$ge4fLrtvDaGazlksMUdkAuYHKu5n7lsTdMqIVwM0TCvDv3LLcxg0m"], ["admin", true], ["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.3ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
Completed 200 OK in 21ms (Views: 1.5ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$V26S1OikDJEqph/x37drtuUU.svI1sLqUhyNV/pU/Mh86SR3VSQPS"], ["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mPwb::User Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "pwb_users" WHERE "pwb_users"."email" = $1 LIMIT $2[0m [["email", "non_admin@pwb.com"], ["LIMIT", 1]]
[1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pwb_users" ("email", "encrypted_password", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["email", "non_admin@pwb.com"], ["encrypted_password", "$2a$04$b1Y/.tBrmiGnujIikua4TucupQbPT72nDYXUeUr/id/BH0cvt70Di"], ["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Processing by Pwb::Api::V1::AgencyController#show as HTML
[1m[36mPwb::User Load (0.5ms)[0m [1m[34mSELECT "pwb_users".* FROM "pwb_users" WHERE "pwb_users"."id" = $1 ORDER BY "pwb_users"."id" ASC LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
[1m[36mPwb::Agency Load (0.4ms)[0m [1m[34mSELECT "pwb_agencies".* FROM "pwb_agencies" ORDER BY "pwb_agencies"."id" DESC LIMIT $1[0m [["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "pwb_agencies"[0m
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pwb_agencies" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", 2016-12-24 23:24:27 UTC], ["updated_at", 2016-12-24 23:24:27 UTC]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Filter chain halted as :check_user rendered or redirected
Completed 422 Unprocessable Entity in 12ms (Views: 0.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m